24.02
|
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::BuildArmComputePermutationVector(mappings));
37 using armcomputetensorutils::BuildArmComputePermutationVector;
46 m_PermuteFunction.configure(&input, &output, BuildArmComputePermutationVector(mappings));
52 m_PermuteFunction.run();
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
arm_compute::Status NeonPermuteWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const PermuteDescriptor &descriptor)
virtual const std::string & GetName() const override
LayerDescriptor m_Parameters
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
void Execute() const override
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
PermuteQueueDescriptor m_Data
Copyright (c) 2021 ARM Limited and Contributors.
NeonPermuteWorkload(const PermuteQueueDescriptor &descriptor, const WorkloadInfo &info)
#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