1 // 2 // Copyright © 2017 Arm Ltd. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 #include <backendsCommon/Workload.hpp> 9 #include <backendsCommon/WorkloadData.hpp> 10 11 #include <armnn/Types.hpp> 12 13 namespace armnn 14 { 15 16 // Base class template providing an implementation of the Constant layer common to all data types. 17 class RefConstantWorkload : public BaseWorkload<ConstantQueueDescriptor> 18 { 19 public: 20 RefConstantWorkload(const ConstantQueueDescriptor& descriptor, const WorkloadInfo& info); 21 22 void PostAllocationConfigure() override; 23 virtual void Execute() const override; 24 }; 25 26 } //namespace armnn 27