"official/nlp/bert/create_pretraining_data.py" did not exist on "0faa2ff3c3f861ca291b2a97ff714a6fc1c85aac"
-
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