Browse Source

Fix bugs when releasing resources.

tags/v0.5.0-beta
rick_sanchez 5 years ago
parent
commit
1827270177
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