Skip to content

Commit

Permalink
[FIX] Increase tol
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Jul 2, 2023
1 parent 2ccce51 commit 6ee055b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/basic_conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@
ein_layer.weight.data = torch_layer.weight.data
ein_layer.bias.data = torch_layer.bias.data

assert allclose(torch_layer(x), ein_layer(x), atol=1e-7)
assert allclose(torch_layer(x), ein_layer(x), rtol=1e-4, atol=1e-6)

0 comments on commit 6ee055b

Please sign in to comment.