Skip to content

Commit 78ee08c

Browse files
authored
fix doc (#86)
1 parent 4d22b9d commit 78ee08c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

_doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def linkcode_resolve(domain, info):
107107
nitpicky = True
108108
# See also scikit-learn/scikit-learn#26761
109109
nitpick_ignore = [
110+
("py:class", "ast.Node"),
110111
("py:class", "dtype"),
111112
("py:class", "False"),
112113
("py:class", "True"),

onnx_diagnostic/torch_export_patches/patch_module.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ def transform_method(
400400
401401
.. runpython::
402402
:showcode:
403+
:process:
404+
:store_in_file: test_example_transform_method_1.py
403405
404406
import torch
405407
from onnx_diagnostic.torch_export_patches.patch_module import transform_method
@@ -430,6 +432,8 @@ def forward(self, x, y):
430432
431433
.. runpython::
432434
:showcode:
435+
:process:
436+
:store_in_file: test_example_transform_method_2.py
433437
434438
import torch
435439
from onnx_diagnostic.torch_export_patches.patch_module import transform_method

0 commit comments

Comments
 (0)