leezu opened a new pull request #19554: URL: https://github.com/apache/incubator-mxnet/pull/19554
[2020-11-16T18:27:31.310Z] if hybridize: [2020-11-16T18:27:31.310Z] test_around.hybridize() [2020-11-16T18:27:31.310Z] x = rand_ndarray(shape, dtype=oneType).as_np_ndarray() [2020-11-16T18:27:31.310Z] np_out = _np.around(x.asnumpy(), d) [2020-11-16T18:27:31.310Z] mx_out = test_around(x) [2020-11-16T18:27:31.310Z] assert mx_out.shape == np_out.shape [2020-11-16T18:27:31.310Z] > assert_almost_equal(mx_out.asnumpy(), np_out, rtol=rtol, atol=atol) [...] [2020-11-16T18:27:31.311Z] > raise AssertionError(msg) [2020-11-16T18:27:31.311Z] E AssertionError: [2020-11-16T18:27:31.311Z] E Items are not equal: [2020-11-16T18:27:31.311Z] E Error 1.002051 exceeds tolerance rtol=1.000000e-03, atol=1.000000e-05. [2020-11-16T18:27:31.311Z] E [2020-11-16T18:27:31.311Z] E ACTUAL: array(-0.989, dtype=float32) [2020-11-16T18:27:31.311Z] E DESIRED: -0.988 Closes https://github.com/apache/incubator-mxnet/issues/16358 ---------------------------------------------------------------- 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]
