Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
piiswrong committed May 15, 2018
1 parent 6f2fd32 commit 78d178a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python/unittest/test_gluon.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ def test(net, x):
y1, grads1 = test(net1, x)
y2, grads2 = test(net2, x)

assert_array_equal(y1.asnumpy(), y2.asnumpy())
assert_almost_equal(y1.asnumpy(), y2.asnumpy(), rtol=1e-3, atol=1e-5)
for key in grads1:
assert_almost_equal(grads1[key].asnumpy(), grads2[key].asnumpy(), rtol=1e-3, atol=1e-5)

Expand Down

0 comments on commit 78d178a

Please sign in to comment.