// // Copyright © 2017 Arm Ltd. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once #include "backends/Workload.hpp" #include "backends/WorkloadData.hpp" #include "backends/NeonWorkloadUtils.hpp" #include #include #include namespace armnn { arm_compute::Status NeonPermuteWorkloadValidate(const TensorInfo& input, const TensorInfo& output, const PermuteDescriptor& descriptor); template class NeonPermuteWorkload : public TypedWorkload { public: static const std::string& GetName() { static const std::string name = std::string("NeonPermuteWorkload"); return name; } NeonPermuteWorkload(const PermuteQueueDescriptor& descriptor, const WorkloadInfo& info); void Execute() const override; private: using TypedWorkload::m_Data; mutable arm_compute::NEPermute m_PermuteFunction; }; using NeonPermuteFloatWorkload = NeonPermuteWorkload; using NeonPermuteUint8Workload = NeonPermuteWorkload; } // namespace armnn