Could not stop when not in loop boundary
This commit is contained in:
@@ -362,6 +362,7 @@ class UnifiedMathVisitor(MathExprVisitor):
|
||||
self._owned_tensors = weakref.WeakValueDictionary()
|
||||
|
||||
def visit(self, tree):
|
||||
throw_exception_if_processing_interrupted()
|
||||
if tree is None:
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user