From e5d1bd1e9360c9fb6c76ca9b19a8f30f295a3ea2 Mon Sep 17 00:00:00 2001 From: Sylwester Fraczek Date: Mon, 24 Sep 2018 13:33:49 +0200 Subject: [PATCH] remove unused variable nodes2delete --- paddle/fluid/framework/ir/conv_relu_mkldnn_fuse_pass.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/paddle/fluid/framework/ir/conv_relu_mkldnn_fuse_pass.cc b/paddle/fluid/framework/ir/conv_relu_mkldnn_fuse_pass.cc index 1f7545558..d7df6389c 100644 --- a/paddle/fluid/framework/ir/conv_relu_mkldnn_fuse_pass.cc +++ b/paddle/fluid/framework/ir/conv_relu_mkldnn_fuse_pass.cc @@ -26,8 +26,6 @@ std::unique_ptr ConvReLUFusePass::ApplyImpl( PADDLE_ENFORCE(graph.get()); FusePassBase::Init("conv_relu_mkldnn_fuse", graph.get()); - std::unordered_set nodes2delete; - GraphPatternDetector gpd; auto* conv_input = gpd.mutable_pattern() ->NewNode("conv_relu_mkldnn_fuse/conv_input") -- GitLab