!2329 Fix bugs when releasing resources.

Merge pull request !2329 from rick_sanchez/huangyong
This commit is contained in:
mindspore-ci-bot 2020-06-19 14:25:01 +08:00 committed by Gitee
commit e2442928d1
1 changed files with 0 additions and 2 deletions

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();