Fix module path for symbolic_trace example

This commit is contained in:
Sylvain Gugger 2021-07-27 13:47:22 -04:00
parent d3c3e722d6
commit 68a441fa4c

View File

@ -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"],