ArmNN
 25.11
Loading...
Searching...
No Matches
NeonNegWorkload.hpp
Go to the documentation of this file.
1//
2// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
9
10#include <arm_compute/core/Error.h>
11#include <arm_compute/runtime/NEON/functions/NEElementwiseUnaryLayer.h>
12
13namespace armnn
14{
15
16arm_compute::Status NeonNegWorkloadValidate(const TensorInfo& input, const TensorInfo& output);
17
18class NeonNegWorkload : public NeonBaseWorkload<ElementwiseUnaryQueueDescriptor>
19{
20public:
22 virtual void Execute() const override;
23
24private:
25 mutable arm_compute::NENegLayer m_NegLayer;
26};
27
28} // namespace armnn
NeonBaseWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
NeonNegWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
virtual void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
arm_compute::Status NeonNegWorkloadValidate(const TensorInfo &input, const TensorInfo &output)
Contains information about TensorInfos of a layer.