Apply to speak at TensorFlow World. Deadline April 23rd. Propose talk

tf.keras.backend.round

tf.keras.backend.round(x)

Defined in tensorflow/python/keras/backend.py.

Element-wise rounding to the closest integer.

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

Arguments:

  • x: Tensor or variable.

Returns:

A tensor.