2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
8 #include <backendsCommon/Workload.hpp>
9 #include <backendsCommon/WorkloadData.hpp>
11 #include <armnn/Types.hpp>
16 // Base class template providing an implementation of the Constant layer common to all data types.
17 template <armnn::DataType DataType>
18 class RefBaseConstantWorkload : public TypedWorkload<ConstantQueueDescriptor, DataType>
21 RefBaseConstantWorkload(const ConstantQueueDescriptor& descriptor, const WorkloadInfo& info)
22 : TypedWorkload<ConstantQueueDescriptor, DataType>(descriptor, info)
27 virtual void Execute() const override;
30 mutable bool m_RanOnce;