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
9e1775dd
Unverified
Commit
9e1775dd
authored
Jan 04, 2022
by
milyiyo
Committed by
GitHub
Jan 04, 2022
Browse files
Fix a little typo (#15002)
parent
774ed4a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/convert_graph_to_onnx.py
src/transformers/convert_graph_to_onnx.py
+1
-1
No files found.
src/transformers/convert_graph_to_onnx.py
View file @
9e1775dd
...
@@ -377,7 +377,7 @@ def convert(
...
@@ -377,7 +377,7 @@ def convert(
def
optimize
(
onnx_model_path
:
Path
)
->
Path
:
def
optimize
(
onnx_model_path
:
Path
)
->
Path
:
"""
"""
Load the model at the specified path and let onnxruntime look at transformations on the graph to enable all the
Load the model at the specified path and let onnxruntime look at transformations on the graph to enable all the
optimizations possibl
optimizations possibl
e
Args:
Args:
onnx_model_path: filepath where the model binary description is stored
onnx_model_path: filepath where the model binary description is stored
...
...
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