24.08
|
Go to the documentation of this file.
10 #include <arm_compute/core/Error.h>
19 const arm_compute::TensorInfo aclInputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(input);
20 const arm_compute::TensorInfo aclOutputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(output);
23 return arm_compute::NEPermute::validate(&aclInputInfo, &aclOutputInfo,
24 armcomputetensorutils::BuildArmComputeTransposeVector(mappings));
44 m_PermuteFunction.configure(&input, &output,
45 armcomputetensorutils::BuildArmComputeTransposeVector(mappings));
51 m_PermuteFunction.run();
NeonTransposeWorkload(const TransposeQueueDescriptor &descriptor, const WorkloadInfo &info)
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
virtual const std::string & GetName() const override
LayerDescriptor m_Parameters
A TransposeDescriptor for the TransposeLayer.
Contains information about TensorInfos of a layer.
arm_compute::Status NeonTransposeWorkloadValidate(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 Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
std::vector< ITensorHandle * > m_Inputs