Commit 68a441fa authored by Sylvain Gugger's avatar Sylvain Gugger
Browse files

Fix module path for symbolic_trace example

parent d3c3e722
...@@ -357,7 +357,7 @@ def symbolic_trace( ...@@ -357,7 +357,7 @@ def symbolic_trace(
Example:: Example::
from transformers.modeling_fx_utils import symbolic_trace from transformers.utils.fx import symbolic_trace
traced_model = symbolic_trace( traced_model = symbolic_trace(
model, model,
input_names=["input_ids", "attention_mask", "token_type_ids"], input_names=["input_ids", "attention_mask", "token_type_ids"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment