telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
David Beck | ecb56cd | 2018-09-05 12:52:57 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include "backends/Workload.hpp" |
| 9 | #include "backends/WorkloadData.hpp" |
| 10 | |
| 11 | namespace armnn |
| 12 | { |
| 13 | |
| 14 | class RefConvolution2dUint8Workload : public Uint8Workload<Convolution2dQueueDescriptor> |
| 15 | { |
| 16 | public: |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 17 | explicit RefConvolution2dUint8Workload(const Convolution2dQueueDescriptor& descriptor, |
| 18 | const WorkloadInfo& info); |
| 19 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 20 | virtual void Execute() const override; |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 21 | |
| 22 | private: |
| 23 | std::unique_ptr<ScopedCpuTensorHandle> m_Weight; |
| 24 | std::unique_ptr<ScopedCpuTensorHandle> m_Bias; |
| 25 | |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 26 | }; |
| 27 | |
| 28 | } //namespace armnn |