24.08
|
Go to the documentation of this file.
16 using namespace armcomputetensorutils;
22 const arm_compute::TensorInfo aclInputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(input);
23 const arm_compute::TensorInfo aclOutputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(output);
29 return arm_compute::NEReduceMean::validate(&aclInputInfo, coords, descriptor.
m_KeepDims, &aclOutputInfo);
47 info.m_InputTensorInfos[0].GetNumDimensions(),
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
arm_compute::Status NeonMeanWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const MeanDescriptor &descriptor)
void Execute() const override
unsigned int GetNumDimensions() const
std::array< unsigned int, MaxNumOfTensorDimensions > Coordinates
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.
std::vector< ITensorHandle * > m_Outputs
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
MeanQueueDescriptor m_Data
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.
NeonMeanWorkload(const MeanQueueDescriptor &descriptor, const WorkloadInfo &info)
A MeanDescriptor for the MeanLayer.
std::vector< ITensorHandle * > m_Inputs