Browse Source

fix onehot bug

Signed-off-by: zjun <zhangjun0@huawei.com>
tags/v1.1.0
zjun 5 years ago
parent
commit
78d5bcac50
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mindspore/ccsrc/pipeline/pynative/pynative_execute.cc

+ 1
- 1
mindspore/ccsrc/pipeline/pynative/pynative_execute.cc View File

@@ -1972,8 +1972,8 @@ void PynativeExecutor::Clear(const std::string &flag) {
ConfigManager::GetInstance().ResetIterNum();
if (top_graph_cells_.find(flag) != top_graph_cells_.end()) {
op_forward_map_.clear();
Clean();
}
Clean();
return;
}



Loading…
Cancel
Save