Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 1 | // |
Teresa Charlin | 588cbdf | 2022-01-19 15:55:37 +0000 | [diff] [blame] | 2 | // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. |
Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
Teresa Charlin | 588cbdf | 2022-01-19 15:55:37 +0000 | [diff] [blame] | 8 | #include "NeonBaseWorkload.hpp" |
Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 9 | |
Matthew Bentham | 5e98b01 | 2020-01-24 23:11:43 +0000 | [diff] [blame] | 10 | #include <arm_compute/core/Error.h> |
| 11 | #include <arm_compute/runtime/IFunction.h> |
Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 12 | |
| 13 | #include <functional> |
| 14 | |
| 15 | namespace armnn |
| 16 | { |
| 17 | |
| 18 | arm_compute::Status NeonDequantizeWorkloadValidate(const TensorInfo& input, |
| 19 | const TensorInfo& output); |
| 20 | |
Teresa Charlin | 588cbdf | 2022-01-19 15:55:37 +0000 | [diff] [blame] | 21 | class NeonDequantizeWorkload : public NeonBaseWorkload<DequantizeQueueDescriptor> |
Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 22 | { |
| 23 | public: |
| 24 | NeonDequantizeWorkload(const DequantizeQueueDescriptor& descriptor, const WorkloadInfo& info); |
| 25 | |
| 26 | void Execute() const override; |
| 27 | |
| 28 | private: |
Matthew Bentham | 5e98b01 | 2020-01-24 23:11:43 +0000 | [diff] [blame] | 29 | mutable std::unique_ptr<arm_compute::IFunction> m_Layer; |
Narumol Prangnawarat | 01961a7 | 2019-05-30 16:47:12 +0100 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | } //namespace armnn |