Skip to content

Commit

Permalink
[docs] fix docs for ONNX2Torch
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc123 committed Sep 23, 2024
1 parent 7cd31e9 commit f55f0da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ from onnx2pytorch import ConvertModel
```py
# Import import_patcher from TinyNN
from tinynn.graph.tracer import import_patcher
# Apply import_patcher during module for onnx2torch
# Apply import_patcher during module import for onnx2torch
with import_patcher():
from onnx2torch import convert

Expand Down
2 changes: 1 addition & 1 deletion docs/FAQ_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ from onnx2pytorch import ConvertModel
```py
# Import import_patcher from TinyNN
from tinynn.graph.tracer import import_patcher
# Apply import_patcher during module for onnx2torch
# Apply import_patcher during module import for onnx2torch
with import_patcher():
from onnx2torch import convert

Expand Down

0 comments on commit f55f0da

Please sign in to comment.