tf.keras.backend.sign

TensorFlow 1 version View source on GitHub

Element-wise sign.

x Tensor or variable.

A tensor.