Fix bugs when releasing resources.

This commit is contained in:
rick_sanchez 2020-06-19 09:44:09 +08:00
parent b7b4333d13
commit 1827270177
1 changed files with 0 additions and 2 deletions

View File

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