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
46554fc1
Commit
46554fc1
authored
Aug 25, 2021
by
Lysandre
Browse files
Grad enabled typo
parent
0e4f7270
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/onnx/convert.py
src/transformers/onnx/convert.py
+1
-1
No files found.
src/transformers/onnx/convert.py
View file @
46554fc1
...
...
@@ -127,7 +127,7 @@ def export(
)
config
.
restore_ops
()
torch
.
set_grad_enabled
(
Fals
e
)
torch
.
set_grad_enabled
(
Tru
e
)
return
matched_inputs
,
onnx_outputs
...
...
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