tf.keras.ops.reciprocal

Return the reciprocal of the argument, element-wise.

Main aliases

tf.keras.ops.numpy.reciprocal

Calculates 1/x.

x Input tensor.

Output tensor, element-wise reciprocal of x.