"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "94bba2c108ff87901067355c85d801389484be2a"
Fix Round operator inaccuracy (#2244)
The inaccuracy was caused by ONNX round requires nearest integer rounding for halway (0.5) cases. std::round rounds away from zero, thus giving wrong results with halfway cases. Replaced std::round with std::nearbyint which uses the correct rounding by default.
Showing
Please register or sign in to comment