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
b5b957a6
Unverified
Commit
b5b957a6
authored
Mar 22, 2021
by
Sylvain Gugger
Committed by
GitHub
Mar 22, 2021
Browse files
Make convert_to_onnx runable as script again (#10857)
parent
77bf3fe7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/transformers/convert_graph_to_onnx.py
src/transformers/convert_graph_to_onnx.py
+3
-3
No files found.
src/transformers/convert_graph_to_onnx.py
View file @
b5b957a6
...
...
@@ -19,9 +19,9 @@ from typing import Dict, List, Optional, Tuple
from
packaging.version
import
Version
,
parse
from
.file_utils
import
ModelOutput
,
is_tf_available
,
is_torch_available
from
.pipelines
import
Pipeline
,
pipeline
from
.tokenization_utils
import
BatchEncoding
from
transformers
.file_utils
import
ModelOutput
,
is_tf_available
,
is_torch_available
from
transformers
.pipelines
import
Pipeline
,
pipeline
from
transformers
.tokenization_utils
import
BatchEncoding
# This is the minimal required version to
...
...
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