tf.keras.backend.sign

Element-wise sign.

x Tensor or variable.

A tensor.