tf.keras.backend.round

View source on GitHub

Element-wise rounding to the closest integer.

tf.keras.backend.round(
    x
)

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

Arguments:

Returns:

A tensor.