tf.keras.backend.sign

TensorFlow 1 version View source on GitHub

Element-wise sign.

Aliases:

tf.keras.backend.sign(x)

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.