forked from mindspore-Ecosystem/mindspore
Fix bugs when releasing resources.
This commit is contained in:
parent
b7b4333d13
commit
1827270177
|
@ -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