From 124c43a092d137e8a06de80b7c027153e5226f67 Mon Sep 17 00:00:00 2001 From: HappyAngel Date: Wed, 22 Jan 2020 02:09:39 +0800 Subject: [PATCH] fix optimize_tool bug (#2779) --- lite/core/mir/fusion/conv_bn_fuse_pass.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lite/core/mir/fusion/conv_bn_fuse_pass.cc b/lite/core/mir/fusion/conv_bn_fuse_pass.cc index 4fa79d226d..f5a7837b53 100644 --- a/lite/core/mir/fusion/conv_bn_fuse_pass.cc +++ b/lite/core/mir/fusion/conv_bn_fuse_pass.cc @@ -26,9 +26,7 @@ namespace mir { void ConvBNFusePass::Apply(const std::unique_ptr& graph) { // initialze fuser params std::vector conv_has_bias_cases{true, false}; - std::vector conv_type_cases{ - "conv2d", "depthwise_conv2d", "conv2d_transpose"}; - + std::vector conv_type_cases{"conv2d", "depthwise_conv2d"}; // start fuse using params for (auto conv_has_bias : conv_has_bias_cases) { for (auto conv_type : conv_type_cases) { -- GitLab