24.08
|
Go to the documentation of this file.
39 std::unique_ptr<Decoder<float>> decoderPtr = MakeDecoder<float>(inputTensorInfo, inputs[0]->
Map());
45 int32_t *output = GetOutputTensorData<int32_t>(outputs[0]);
49 int64_t *output = GetOutputTensorData<int64_t>(outputs[0]);
void ExecuteAsync(ExecutionData &executionData) override
ArgMinMaxFunction m_Function
Specify if the function is to find Min or Max.
#define ARMNN_SCOPED_PROFILING_EVENT_REF_NAME_GUID(label)
Creates a profiling event that uses GetGuid() and GetName() from the calling class.
RefArgMinMaxWorkload(const ArgMinMaxQueueDescriptor &descriptor, const WorkloadInfo &info)
LayerDescriptor m_Parameters
void ArgMinMax(Decoder< float > &in, OUT *out, const TensorInfo &inputTensorInfo, const TensorInfo &outputTensorInfo, ArgMinMaxFunction function, int axis)
Contains information about TensorInfos of a layer.
const TensorInfo & GetTensorInfo(const ITensorHandle *tensorHandle)
float32 helpers
void Execute() const override
DataType GetDataType() const
std::vector< ITensorHandle * > m_Outputs
ArgMinMaxQueueDescriptor m_Data
std::vector< ITensorHandle * > m_Inputs
Copyright (c) 2021 ARM Limited and Contributors.
int m_Axis
Axis to reduce across the input tensor.
std::vector< ITensorHandle * > m_Outputs
std::vector< ITensorHandle * > m_Inputs