tf.keras.backend.sign

tf.keras.backend.sign(x)

Defined in tensorflow/python/keras/_impl/keras/backend.py.

Element-wise sign.

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.