Skip to content

Commit a6fb960

Browse files
lantigaezyang
authored andcommitted
Expose node scopeName to python (#4200)
1 parent 0e804ae commit a6fb960

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

torch/csrc/jit/python_ir.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ void initPythonIRBindings(PyObject * module_) {
133133
.NS(hasUses)
134134
.NS(eraseOutput)
135135
.NS(addOutput)
136+
.NS(scopeName)
136137

137138
#define AS(name) def(#name,&Attributes<Node> :: name)
138139
// methods from Attributes

0 commit comments

Comments
 (0)