This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
13
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!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
Gitee
4 years ago
parent
c66b4e4994
dd2cd6d251
commit
87c97ecb26
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
mindspore/context.py
+ 1
- 0
mindspore/context.py
View File
@@ -83,6 +83,7 @@ class _ThreadLocalInfo(threading.local):
def __init__(self):
super(_ThreadLocalInfo, self).__init__()
self._reserve_class_name_in_scope = True
self.debug_runtime = False
@property
def reserve_class_name_in_scope(self):
Write
Preview
Loading…
Cancel
Save