triton.language.argmax

triton.language.argmax(input, axis)

Returns the maximum index of all elements in the input tensor along the provided axis

Parameters:
  • input – the input values

  • axis – the dimension along which the reduction should be done