tf.keras.activations.relu6

Relu6 activation function.

It's the ReLU function, but truncated to a maximum value of 6.

x Input tensor.