tf.keras.backend.round

Element-wise rounding to the closest integer.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.backend.round, `tf.compat.v2.keras.backend.round`

In case of tie, the rounding mode used is "half to even".

x Tensor or variable.

A tensor.