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
!8652
fix memory leak in pynative memory
From:
@chujinjin
Reviewed-by: @kisnwang,@jjfeing Signed-off-by:
@jjfeing
tags/v1.1.0
mindspore-ci-bot
Gitee
5 years ago
parent
e1cfeeb1dd
78e44b1c7b
commit
e2e532dec3
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
mindspore/ccsrc/pipeline/pynative/pynative_execute.cc
+ 1
- 0
mindspore/ccsrc/pipeline/pynative/pynative_execute.cc
View File
@@ -1985,6 +1985,7 @@ void PynativeExecutor::Clear(const std::string &flag) {
graph_info_map_.clear();
op_id_map_.clear();
obj_to_forward_id_.clear();
node_abs_map_.clear();
std::stack<FuncGraphPtr>().swap(graph_context_);
ConfigManager::GetInstance().ResetIterNum();
}
Write
Preview
Loading…
Cancel
Save