triton.language.max

triton.language.max(input, axis)

Returns the maximum of all elements in the input block along the provided axis

Parameters
  • input – the input values

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