Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <backendsCommon/Workload.hpp> |
| 9 | |
| 10 | #include <arm_compute/runtime/NEON/NEFunctions.h> |
| 11 | |
| 12 | #include <functional> |
| 13 | |
| 14 | namespace armnn |
| 15 | { |
| 16 | |
| 17 | arm_compute::Status NeonDequantizeWorkloadValidate(const TensorInfo& input, |
| 18 | const TensorInfo& output); |
| 19 | |
| 20 | class NeonDequantizeWorkload : public BaseWorkload<DequantizeQueueDescriptor> |
| 21 | { |
| 22 | public: |
| 23 | NeonDequantizeWorkload(const DequantizeQueueDescriptor& descriptor, const WorkloadInfo& info); |
| 24 | |
| 25 | void Execute() const override; |
| 26 | |
| 27 | private: |
| 28 | mutable std::unique_ptr<arm_compute::NEDequantizationLayer> m_Layer; |
| 29 | }; |
| 30 | |
| 31 | } //namespace armnn |