未验证 提交 e1e666a0 编写于 作者: T Tao Luo 提交者: GitHub

fix conv mkldnn build error (#28288)

上级 2853f0c4
...@@ -191,7 +191,6 @@ class ConvMKLDNNHandlerT ...@@ -191,7 +191,6 @@ class ConvMKLDNNHandlerT
UpdatePaddingAndDilation(&paddings, &dilations, padding_algorithm, UpdatePaddingAndDilation(&paddings, &dilations, padding_algorithm,
data_dims, strides, ksize); data_dims, strides, ksize);
const bool is_conv3d = strides.size() == 3U;
std::transform(dilations.begin(), dilations.end(), dilations.begin(), std::transform(dilations.begin(), dilations.end(), dilations.begin(),
[](int64_t i) { return i - 1; }); [](int64_t i) { return i - 1; });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册