This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
Huawei_Technology
/
mindspore-mindinsight
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
!331
Fix issue that the python source for an AST is wrong.
Merge pull request
!331
from ggpolar/br_wzk_dev
tags/v0.5.0-beta
mindspore-ci-bot
Gitee
5 years ago
parent
09512a5f07
79e1b068ee
commit
aa3dacf5a3
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
mindinsight/mindconverter/ast_edits.py
+ 1
- 1
mindinsight/mindconverter/ast_edits.py
View File
@@ -297,7 +297,7 @@ class AstEditVisitor(ast.NodeVisitor):
if source_prefix:
if source_prefix:
pos = len(source_prefix)
pos = len(source_prefix)
source_code = pasta.dump(node)
source_code = pasta.dump(node)
return source_code[pos]
return source_code[pos
:
]
def _replace_external_reference(self):
def _replace_external_reference(self):
"""
"""
Write
Preview
Loading…
Cancel
Save