tf.keras.ops.round

Evenly round to the given number of decimals.

Main aliases

tf.keras.ops.numpy.round

x Input tensor.
decimals Number of decimal places to round to. Defaults to 0.

Output tensor.