projects
/
platform
/
upstream
/
pytorch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fa996f
)
Turn atol to 1e-5 when comparing the end to end results (#17708)
author
Lu Fang
<lufang@fb.com>
Wed, 6 Mar 2019 20:02:34 +0000
(12:02 -0800)
committer
Facebook Github Bot
<facebook-github-bot@users.noreply.github.com>
Wed, 6 Mar 2019 20:06:45 +0000
(12:06 -0800)
Summary:
results smaller than 1e-5 don't make sense.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17708
Differential Revision:
D14348893
Pulled By: houseroad
fbshipit-source-id:
5e07c38e5b58b27b61fae63bfc3c21e2fe5629fe
test/onnx/verify.py
patch
|
blob
|
history
diff --git
a/test/onnx/verify.py
b/test/onnx/verify.py
index
c8521cd
..
b92926a
100644
(file)
--- a/
test/onnx/verify.py
+++ b/
test/onnx/verify.py
@@
-29,7
+29,7
@@
class Errors(object):
>>> ...
"""
- def __init__(self, msg, rtol=1e-3, atol=1e-
7
):
+ def __init__(self, msg, rtol=1e-3, atol=1e-
5
):
self.msg = msg
self.errors = []
self.context = []