Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
86c07e63
Commit
86c07e63
authored
Aug 20, 2020
by
sgugger
Browse files
One last threshold to raise
parent
e8af90c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_modeling_tf_common.py
tests/test_modeling_tf_common.py
+1
-1
No files found.
tests/test_modeling_tf_common.py
View file @
86c07e63
...
...
@@ -348,7 +348,7 @@ class TFModelTesterMixin:
tfo
[
pt_nans
]
=
0
max_diff
=
np
.
amax
(
np
.
abs
(
tfo
-
pto
))
self
.
assertLessEqual
(
max_diff
,
2
e-2
)
self
.
assertLessEqual
(
max_diff
,
4
e-2
)
def
test_compile_tf_model
(
self
):
config
,
inputs_dict
=
self
.
model_tester
.
prepare_config_and_inputs_for_common
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment