warp.max#

warp.max(a: Scalar, b: Scalar) Scalar#
  • Kernel

  • Differentiable

Return the maximum of two scalars.

warp.max(
a: Vector[Any, Scalar],
b: Vector[Any, Scalar],
) Vector[Any, Scalar]
  • Kernel

  • Differentiable

Return the element-wise maximum of two vectors.

warp.max(a: Vector[Any, Scalar]) Scalar
  • Kernel

  • Differentiable

Return the maximum element of a vector a.