blob: a58f23a2a0edbd720aecfef26710f6c6ecc9fc51 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
6#pragma once
7
Aron Virginas-Tarc9cc8042018-11-01 16:15:57 +00008#include <backendsCommon/Workload.hpp>
9#include <backendsCommon/WorkloadData.hpp>
telsoa014fcda012018-03-09 14:13:49 +000010
11namespace armnn
12{
13
14class RefConvolution2dUint8Workload : public Uint8Workload<Convolution2dQueueDescriptor>
15{
16public:
telsoa01c577f2c2018-08-31 09:22:23 +010017 explicit RefConvolution2dUint8Workload(const Convolution2dQueueDescriptor& descriptor,
18 const WorkloadInfo& info);
19
telsoa014fcda012018-03-09 14:13:49 +000020 virtual void Execute() const override;
telsoa01c577f2c2018-08-31 09:22:23 +010021
22private:
23 std::unique_ptr<ScopedCpuTensorHandle> m_Weight;
24 std::unique_ptr<ScopedCpuTensorHandle> m_Bias;
25
telsoa014fcda012018-03-09 14:13:49 +000026};
27
28} //namespace armnn