warp.clamp#

warp.clamp(x: Scalar, low: Scalar, high: Scalar) Scalar#
  • Kernel

  • Differentiable

Clamp the value of x to the range [low, high].