round

odl.round(x1, out=None)

Rounds each element x_i of the input array x to the nearest integer.

Halfway cases (i.e., numbers with a fractional part of 0.5) are rounded to the nearest even integer.