.. _op_ai_onnx_ArgMax-1: ArgMax - version 1 ================== This page documents version **1** of operator **ArgMax**. See :doc:`ArgMax` for the latest version (since version 13). - **Domain**: ``ai.onnx`` - **Since version**: 1 Computes the indices of the max elements of the input tensor's element along the provided axis. The resulting tensor has the same rank as the input if keepdims equals 1. If keepdims equal 0, then the resulting tensor has the reduced dimension pruned. The type of the output tensor is integer. **Inputs** - **data** (*T*): An input tensor. **Outputs** - **reduced** (*tensor(int64)*): Reduced output tensor with integer data type. **Type Constraints** - **T**: Constrain input and output types to all numeric tensors. Allowed types: tensor(double), tensor(float), tensor(float16), tensor(int16), tensor(int32), tensor(int64), tensor(int8), tensor(uint16), tensor(uint32), tensor(uint64), tensor(uint8).