tf.keras.backend.clip

Element-wise value clipping.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.backend.clip, `tf.compat.v2.keras.backend.clip`

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

A tensor.