From aa57047b105c38cd54f017aac65002b1fd6fa952 Mon Sep 17 00:00:00 2001 From: lvliang Date: Tue, 19 May 2020 20:44:12 +0800 Subject: [PATCH] pynative-fix-precision-problem-for-depthwiseconv2dnative --- .../ccsrc/pre_activate/ascend/ascend_backend_optimization.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc b/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc index 220b309200d..ddf2676497c 100644 --- a/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc +++ b/mindspore/ccsrc/pre_activate/ascend/ascend_backend_optimization.cc @@ -123,8 +123,8 @@ void RunOpAscendDataLayout(const std::shared_ptr &kernel_g data_layout_pm->AddPass(std::make_shared()); data_layout_pm->AddPass(std::make_shared()); data_layout_pm->AddPass(std::make_shared()); - data_layout_pm->AddPass(std::make_shared()); data_layout_pm->AddPass(std::make_shared()); + data_layout_pm->AddPass(std::make_shared()); optimizer->AddPassManager(data_layout_pm); (void)optimizer->Optimize(kernel_graph); kernel_graph->SetExecOrderByDefault();