mirror of
https://github.com/huggingface/transformers.git
synced 2025-08-03 03:31:05 +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::
|
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"],
|
||||||
|
Loading…
Reference in New Issue
Block a user