clamp

fun <T : DType, V> Tensor<T, V>.clamp(minVal: Float, maxVal: Float): Tensor<T, V>(source)