24.02
|
Go to the documentation of this file.
10 #include <arm_compute/core/Error.h>
21 const arm_compute::TensorInfo aclInputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(input);
22 const arm_compute::TensorInfo aclOutputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(output);
25 return arm_compute::CLPermute::validate(&aclInputInfo, &aclOutputInfo,
26 armcomputetensorutils::BuildArmComputePermutationVector(mappings));
31 const arm_compute::CLCompileContext& clCompileContext)
40 using armcomputetensorutils::BuildArmComputePermutationVector;
51 m_PermuteFunction.configure(clCompileContext, &input, &output, BuildArmComputePermutationVector(mappings));
ClPermuteWorkload(const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
virtual const std::string & GetName() const override
arm_compute::Status ClPermuteWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor)
LayerDescriptor m_Parameters
#define ARMNN_SCOPED_PROFILING_EVENT_CL_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
Contains information about TensorInfos of a layer.
A PermuteDescriptor for the PermuteLayer.
PermutationVector m_DimMappings
Indicates how to translate tensor elements from a given source into the target destination,...
std::vector< ITensorHandle * > m_Outputs
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
PermuteQueueDescriptor m_Data
void Execute() const override
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Inputs