• Computes round of input tf.Tensor element-wise: round(x). It implements banker's rounding.

    const x = tf.tensor1d([.6, 1.1, -3.3]);

    x.round().print(); // or tf.round(x)

    Type Parameters

    Parameters

    Returns T

    Doc

Generated using TypeDoc