You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @tungld,
Actually the doc mentions this kind of scenario: In case of halfs, the rule is to round them to the nearest "even" integer. The output tensor has the same shape and type as the input. And this behavior is similar to numpy.around: https://numpy.org/doc/stable/reference/generated/numpy.around.html
Ask a Question
Question
In the definition of Round, it said
it finds the nearest integer for each value
, but according to the exampleI am confused whether
2.0
is the nearest integer of2.5
or1.5
. How was the nearest integer computed? Thanks!Further information
Similar thing happened with the reference output of Round also: https://github.com/onnx/onnx/blob/master/docs/Operators.md#examples-110
Model name (e.g. mnist):
Model opset (e.g. 7):
Notes
Any additional information, code snippets.
The text was updated successfully, but these errors were encountered: