Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
cf9c1cbb
Commit
cf9c1cbb
authored
Sep 24, 2019
by
thomwolf
Browse files
fix tests chen only using tf
parent
2167e366
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
pytorch_transformers/tests/modeling_tf_common_test.py
pytorch_transformers/tests/modeling_tf_common_test.py
+2
-1
No files found.
pytorch_transformers/tests/modeling_tf_common_test.py
View file @
cf9c1cbb
...
...
@@ -69,7 +69,8 @@ class TFCommonTestCases:
def
test_pt_tf_model_equivalence
(
self
):
if
not
is_torch_available
():
pass
return
import
pytorch_transformers
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