mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-31 02:02:21 +06:00
Fix module path for symbolic_trace example
This commit is contained in:
parent
d3c3e722d6
commit
68a441fa4c
@ -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"],
|
||||
|
Loading…
Reference in New Issue
Block a user