ChaiBapchya commented on a change in pull request #17884: [MKL-DNN] Integrate
Conv3d and Pool3d/1d
URL: https://github.com/apache/incubator-mxnet/pull/17884#discussion_r405865801
##########
File path: src/operator/nn/mkldnn/mkldnn_base-inl.h
##########
@@ -153,9 +153,8 @@ static inline bool SupportMKLDNN(int dtype, const
mxnet::TShape &shape) {
// MKLDNN currently does not support 0-dim Tensor and 0-size Tensor
return false;
}
-
return (dtype == mshadow::kFloat32 || dtype == mshadow::kBfloat16) &&
- (ndim == 1 || ndim == 2 || ndim == 4);
Review comment:
can you point me to where it's handled? I didn't understand the separate
treatment of 3D
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services