Skip to content

Commit e1d08f9

Browse files
authored
Update extractor.py
1 parent 5ba2b8b commit e1d08f9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

graph_net/torch/extractor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from typing import Union, Callable
55
from . import utils
66

7+
torch._dynamo.config.capture_scalar_outputs = True
78

89
def extract(name, dynamic=True, mut_graph_codes=None, placeholder_auto_rename=False):
910
"""

0 commit comments

Comments
 (0)