triton.language.maximum

triton.language.maximum(x, y, propagate_nan: constexpr = PROPAGATE_NAN.NONE, _semantic=None)

Computes the element-wise maximum of x and y.

Parameters:
  • x (Block) – the first input tensor

  • y (Block) – the second input tensor

  • propagate_nan (tl.PropagateNan) – whether to propagate NaN values.

See also

tl.PropagateNan