24.08
|
Go to the documentation of this file.
39 auto inputDecoder = MakeDecoder<float>(inputInfo, inputs[0]->
Map());
40 auto outputEncoder = MakeEncoder<float>(outputInfo, outputs[0]->
Map());
void Reduce(const TensorInfo &inputInfo, const TensorInfo &outputInfo, Decoder< float > &input, Encoder< float > &output, const std::vector< uint32_t > axis, const ReduceOperation reduceOperation)
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.
void Execute() const override
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
std::vector< ITensorHandle * > m_Outputs
RefMeanWorkload(const MeanQueueDescriptor &descriptor, const WorkloadInfo &info)
std::vector< unsigned int > m_Axis
Values for the dimensions to reduce.
MeanQueueDescriptor m_Data
std::vector< ITensorHandle * > m_Inputs
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Outputs
std::vector< ITensorHandle * > m_Inputs
void ExecuteAsync(ExecutionData &executionData) override