!13810 fix error of context field not defined

From: @wangnan39
Reviewed-by: @kingxian,@zh_qh
Signed-off-by: @kingxian,@zh_qh
pull/13810/MERGE
mindspore-ci-bot 4 years ago committed by Gitee
commit 87c97ecb26

@ -83,6 +83,7 @@ class _ThreadLocalInfo(threading.local):
def __init__(self): def __init__(self):
super(_ThreadLocalInfo, self).__init__() super(_ThreadLocalInfo, self).__init__()
self._reserve_class_name_in_scope = True self._reserve_class_name_in_scope = True
self.debug_runtime = False
@property @property
def reserve_class_name_in_scope(self): def reserve_class_name_in_scope(self):

Loading…
Cancel
Save