24.02
|
Go to the documentation of this file.
40 std::unique_ptr<Decoder<float>> decoderPtr = MakeDecoder<float>(inputInfo, inputs[0]->
Map());
43 std::unique_ptr<Encoder<float>> encoderPtr = 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.
ReduceOperation m_ReduceOperation
Specifies the reduction operation to execute.
LayerDescriptor m_Parameters
Contains information about TensorInfos of a layer.
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
std::vector< ITensorHandle * > m_Outputs
RefReduceWorkload(const ReduceQueueDescriptor &descriptor, const WorkloadInfo &info)
void ExecuteAsync(ExecutionData &executionData) override
ReduceQueueDescriptor m_Data
void Execute() const override
std::vector< uint32_t > m_vAxis
The indices of the dimensions to reduce.
std::vector< ITensorHandle * > m_Inputs
Copyright (c) 2021 ARM Limited and Contributors.
std::vector< ITensorHandle * > m_Outputs
std::vector< ITensorHandle * > m_Inputs