// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include "RefBaseWorkload.hpp" #include namespace armnn { template class RefPermuteWorkload : public TypedWorkload { public: static const std::string& GetName() { static const std::string name = std::string("RefPermute") + GetDataTypeName(DataType) + "Workload"; return name; } using TypedWorkload::m_Data; using TypedWorkload::TypedWorkload; void Execute() const override; void ExecuteAsync(WorkingMemDescriptor& workingMemDescriptor) override; private: void Execute(std::vector inputs, std::vector outputs) const; }; using RefPermuteBFloat16Workload = RefPermuteWorkload; using RefPermuteFloat16Workload = RefPermuteWorkload; using RefPermuteFloat32Workload = RefPermuteWorkload; using RefPermuteQAsymmS8Workload = RefPermuteWorkload; using RefPermuteQAsymm8Workload = RefPermuteWorkload; using RefPermuteQSymm16Workload = RefPermuteWorkload; } //namespace armnn