forked from mindspore-Ecosystem/mindspore
!2329 Fix bugs when releasing resources.
Merge pull request !2329 from rick_sanchez/huangyong
This commit is contained in:
commit
e2442928d1
|
@ -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…
Reference in New Issue