Computes round of input tf.Tensor element-wise: round(x). It implements banker's rounding.
tf.Tensor
round(x)
const x = tf.tensor1d([.6, 1.1, -3.3]);x.round().print(); // or tf.round(x) Copy
const x = tf.tensor1d([.6, 1.1, -3.3]);x.round().print(); // or tf.round(x)
The input tensor.
Generated using TypeDoc
Computes round of input
tf.Tensor
element-wise:round(x)
. It implements banker's rounding.