Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

tf.keras.backend.clip

TensorFlow 1 version View source on GitHub

Element-wise value clipping.

x Tensor or variable.
min_value Python float, integer, or tensor.
max_value Python float, integer, or tensor.

A tensor.