!1267 Pynative fix precision problem for depthwiseconv2dnative op

Merge pull request !1267 from JoyLvliang/pynative-fix-precision-problem-for-depthwiseconv2dnative
This commit is contained in:
mindspore-ci-bot 2020-05-20 09:32:33 +08:00 committed by Gitee
commit 049e530a78
1 changed files with 1 additions and 1 deletions

View File

@ -123,8 +123,8 @@ void RunOpAscendDataLayout(const std::shared_ptr<session::KernelGraph> &kernel_g
data_layout_pm->AddPass(std::make_shared<CommonSubexpressionElimination>());
data_layout_pm->AddPass(std::make_shared<EliminateRedundantOp>());
data_layout_pm->AddPass(std::make_shared<OptimizeDependence>());
data_layout_pm->AddPass(std::make_shared<EraseVisitAttr>());
data_layout_pm->AddPass(std::make_shared<TransDataSplit>());
data_layout_pm->AddPass(std::make_shared<EraseVisitAttr>());
optimizer->AddPassManager(data_layout_pm);
(void)optimizer->Optimize(kernel_graph);
kernel_graph->SetExecOrderByDefault();