Python wrappers
Public Python APIs implemented by this engine symbol.Element-wise round-to-nearest-even — returns a new tensor whose values are round(a) with the same shape and dtype as a.
Not differentiable: a is detached from the autograd graph.
Math
(round-half-to-even / banker's rounding).
Shape
Output shape equals input shape (elementwise).
See Also
floor_op, ceil_op.
Parameters
aTensorImplPtrInput tensor. Integer dtypes are returned unchanged.
Returns
TensorImplPtrNew tensor with rounded values; same shape, dtype, and device as a.