24.08
|
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::BuildArmComputeTransposeVector(mappings));
31 const arm_compute::CLCompileContext& clCompileContext)
48 m_PermuteFunction.configure(clCompileContext,
51 armcomputetensorutils::BuildArmComputeTransposeVector(mappings));
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
ClTransposeWorkload(const TransposeQueueDescriptor &descriptor, const WorkloadInfo &info, const arm_compute::CLCompileContext &clCompileContext)
virtual const std::string & GetName() const override
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.
A TransposeDescriptor for the TransposeLayer.
Contains information about TensorInfos of a layer.
arm_compute::Status ClTransposeWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const TransposeDescriptor &descriptor)
std::vector< ITensorHandle * > m_Outputs
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
PermutationVector m_DimMappings
Indicates how to translate tensor elements from a given source into the target destination,...
TransposeQueueDescriptor m_Data
void RunClFunction(arm_compute::IFunction &function, const CheckLocation &location)
Copyright (c) 2021 ARM Limited and Contributors.
void Execute() const override
std::vector< ITensorHandle * > m_Inputs