tf.keras.ops.negative

Numerical negative, element-wise.

Main aliases

tf.keras.ops.numpy.negative

x Input tensor.

Output tensor, y = -x.