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
1bbc28be
Commit
1bbc28be
authored
Jul 06, 2020
by
Lysandre
Browse files
Imports organization
parent
1bc13697
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/convert_pytorch_checkpoint_to_tf2.py
src/transformers/convert_pytorch_checkpoint_to_tf2.py
+1
-1
No files found.
src/transformers/convert_pytorch_checkpoint_to_tf2.py
View file @
1bbc28be
...
@@ -74,9 +74,9 @@ from transformers import (
...
@@ -74,9 +74,9 @@ from transformers import (
is_torch_available
,
is_torch_available
,
load_pytorch_checkpoint_in_tf2_model
,
load_pytorch_checkpoint_in_tf2_model
,
)
)
from
transformers.file_utils
import
hf_bucket_url
from
transformers.file_utils
import
hf_bucket_url
if
is_torch_available
():
if
is_torch_available
():
import
torch
import
torch
import
numpy
as
np
import
numpy
as
np
...
...
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