RSVP for your your local TensorFlow Everywhere event today!

tf.keras.backend.tanh

TensorFlow 2 version View source on GitHub

Element-wise tanh.

x A tensor or variable.

A tensor.