23.05
|
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(),
arm::pipe::ProfilingGuid GetGuid() const final
void ValidateInputsOutputs(const std::string &descName, unsigned int numExpectedIn, unsigned int numExpectedOut) const
void Execute() const override
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
MeanQueueDescriptor m_Data
NeonMeanWorkload(const MeanQueueDescriptor &descriptor, const WorkloadInfo &info)
Copyright (c) 2021 ARM Limited and Contributors.
#define ARMNN_SCOPED_PROFILING_EVENT_NEON_GUID(name, guid)
arm_compute::Status NeonMeanWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const MeanDescriptor &descriptor)
A MeanDescriptor for the MeanLayer.
unsigned int GetNumDimensions() const
Contains information about TensorInfos of a layer.
LayerDescriptor m_Parameters
#define ARMNN_REPORT_PROFILING_WORKLOAD_DESC(name, desc, infos, guid)
bool m_KeepDims
Enable/disable keep dimensions. If true, then the reduced dimensions that are of length 1 are kept.
std::vector< ITensorHandle * > m_Outputs
std::array< unsigned int, MaxNumOfTensorDimensions > Coordinates
std::vector< ITensorHandle * > m_Inputs