blob: 3cb82c4be5b9cfbdf9a621031bbdedb09631b5d2 [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
David Beckac42efd2018-09-26 17:41:13 +01008#include <backends/Workload.hpp>
9#include <backends/WorkloadData.hpp>
telsoa014fcda012018-03-09 14:13:49 +000010
11namespace armnn
12{
13
14class RefDepthwiseConvolution2dUint8Workload : public Uint8Workload<DepthwiseConvolution2dQueueDescriptor>
15{
16public:
telsoa01c577f2c2018-08-31 09:22:23 +010017 explicit RefDepthwiseConvolution2dUint8Workload(const DepthwiseConvolution2dQueueDescriptor& descriptor,
18 const WorkloadInfo& info);
telsoa014fcda012018-03-09 14:13:49 +000019 virtual void Execute() const override;
telsoa01c577f2c2018-08-31 09:22:23 +010020
21private:
22 std::unique_ptr<ScopedCpuTensorHandle> m_Weight;
23 std::unique_ptr<ScopedCpuTensorHandle> m_Bias;
telsoa014fcda012018-03-09 14:13:49 +000024};
25
26} //namespace armnn