From e1e666a05fe257781bd028a1e8b7a4a5332d5286 Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Wed, 28 Oct 2020 15:38:29 +0800 Subject: [PATCH] fix conv mkldnn build error (#28288) --- paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc b/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc index b333b42c014..5bba3c6d6ed 100644 --- a/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc +++ b/paddle/fluid/operators/mkldnn/conv_mkldnn_op.cc @@ -191,7 +191,6 @@ class ConvMKLDNNHandlerT UpdatePaddingAndDilation(&paddings, &dilations, padding_algorithm, data_dims, strides, ksize); - const bool is_conv3d = strides.size() == 3U; std::transform(dilations.begin(), dilations.end(), dilations.begin(), [](int64_t i) { return i - 1; }); -- GitLab