"git@developer.sourcefind.cn:sugon_wxj/megatron-lm.git" did not exist on "a7a12f823fe19d89ccaf58877b14290be85c66d9"
  • Zakor Gyula's avatar
    Fix Round operator inaccuracy (#2244) · 48c4453c
    Zakor Gyula authored
    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.
    48c4453c
simplify_reshapes_test.cpp 69.1 KB