Watch talks from the 2019 TensorFlow Dev Summit Watch now

tf.keras.backend.sign

tf.keras.backend.sign(x)

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

Element-wise sign.

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.