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
68a441fa
Commit
68a441fa
authored
Jul 27, 2021
by
Sylvain Gugger
Browse files
Fix module path for symbolic_trace example
parent
d3c3e722
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/utils/fx.py
src/transformers/utils/fx.py
+1
-1
No files found.
src/transformers/utils/fx.py
View file @
68a441fa
...
...
@@ -357,7 +357,7 @@ def symbolic_trace(
Example::
from transformers.
modeling_fx_
utils import symbolic_trace
from transformers.utils
.fx
import symbolic_trace
traced_model = symbolic_trace(
model,
input_names=["input_ids", "attention_mask", "token_type_ids"],
...
...
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