Skip to content

Commit 93ea1f1

Browse files
Add definition to etrecord_path to the devtools tutorial (#5481)
Add definition to `etrecord_path` to the devtools tutorial (#5458) Summary: Pull Request resolved: #5458 This diff adds the definition for variable `etrecord_path`. `etrecord_path` was defined in previous steps in the tutorial, but when user gets to this step, they would usually start a new script, so we should define this variable again. Reviewed By: Gasoonjia, dvorjackz Differential Revision: D62921869 fbshipit-source-id: 1d274d5fc76f84f6f943295c142141051fd85cb4 (cherry picked from commit b89c52c) Co-authored-by: Olivia Liu <[email protected]>
1 parent d6186d9 commit 93ea1f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/source/tutorials_source/devtools-integration-tutorial.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ def forward(self, x):
196196
inspector_patch.start()
197197
inspector_patch_print.start()
198198
# sphinx_gallery_end_ignore
199+
etrecord_path = "etrecord.bin"
199200
etdump_path = "etdump.etdp"
200201
inspector = Inspector(etdump_path=etdump_path, etrecord=etrecord_path)
201202
# sphinx_gallery_start_ignore

0 commit comments

Comments
 (0)