bartekkuncer commented on code in PR #21103:
URL: https://github.com/apache/incubator-mxnet/pull/21103#discussion_r935438148


##########
src/operator/nn/dnnl/dnnl_where.cc:
##########
@@ -34,7 +34,15 @@ namespace op {
 
 // Support for https://oneapi-src.github.io/oneDNN/v2.6/dev_guide_binary.html
 bool SupportDNNLWhere(const std::vector<NDArray>& inputs) {
-  return SupportDNNL<DNNLTypeMode::NoInt32, DNNLTensorsDtypes::Mixed>(inputs);
+  if (inputs[0].dtype() == mshadow::kBool) {
+    // oneDNN natively doesn't support bool data type, however this operator 
was written
+    // to allow using bool datatype for 'condition' tensor - data will be 
treated as uint8

Review Comment:
   data type or datatype?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to