Browse Source

!2329 Fix bugs when releasing resources.

Merge pull request !2329 from rick_sanchez/huangyong
tags/v0.5.0-beta
mindspore-ci-bot Gitee 5 years ago
parent
commit
e2442928d1
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      mindspore/ccsrc/pynative/pynative_execute.cc

+ 0
- 2
mindspore/ccsrc/pynative/pynative_execute.cc View File

@@ -886,8 +886,6 @@ void PynativeExecutor::Clean() {
MS_LOG(INFO) << "Clean all res";
Clear();
grad_flag_ = false;
graph_map_.clear();
cell_graph_map_.clear();
df_builder_ = nullptr;
ad::CleanRes();
pipeline::ReclaimOptimizer();


Loading…
Cancel
Save