fix conv mkldnn build error (#28288)

revert-28284-dev/pybind_version
Tao Luo 4 years ago committed by GitHub
parent 2853f0c4f9
commit e1e666a05f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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; });

Loading…
Cancel
Save