Skip to content

Commit

Permalink
Adjust JetTest.test_scatter_add tolerance for TPU
Browse files Browse the repository at this point in the history
  • Loading branch information
skye committed Mar 31, 2021
1 parent d617acd commit 5fe8712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/jet_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def F(t):

return grad(jacfwd(F))(0.)

self.check_jet(h, (0.,), ([1., 2., 3.],))
self.check_jet(h, (0.,), ([1., 2., 3.],), rtol=1e-3)


if __name__ == '__main__':
Expand Down

0 comments on commit 5fe8712

Please sign in to comment.