16 template <
typename OUT>
25 const unsigned int axisSize = inputTensorInfo.
GetShape()[uAxis];
30 for (
unsigned int outer = 0; outer < outerElements; ++outer) {
31 for (
unsigned int inner = 0; inner < innerElements; ++inner) {
32 in[outer * axisSize * innerElements + inner];
33 auto tmpValue = in.
Get();
34 unsigned int tmpIndex = 0;
35 for (
unsigned int i = 1; i < axisSize; ++i) {
36 in[(outer * axisSize * innerElements) + (i * innerElements) + inner];
37 const auto& value = in.
Get();
45 out[outer * innerElements + inner] = armnn::numeric_cast<OUT>(tmpIndex);
50 template void ArgMinMax(Decoder<float>& in, int32_t* out,
const TensorInfo& inputTensorInfo,
53 template void ArgMinMax(Decoder<float>& in, int64_t* out,
const TensorInfo& inputTensorInfo,