ptrendx opened a new pull request #15756: Fix flaky test test_global_metric URL: https://github.com/apache/incubator-mxnet/pull/15756 ## Description ## Fixes #15592 The reason for assertion failure was that sometimes the random inputs would produce `nan` as a result, which would make the comparison `m1.get() == m2.get()` fail as `nan != nan`. ## Checklist ## ### Essentials ### Please feel free to remove inapplicable items for your PR. - [x] Changes are complete (i.e. I finished coding on this PR) - [x] All changes have test coverage:
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
