You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/09/19 09:47:06 UTC

[GitHub] [incubator-mxnet] hgt312 commented on a change in pull request #16009: [Numpy] Numpy compatible bitwise_and operator

hgt312 commented on a change in pull request #16009: [Numpy] Numpy compatible bitwise_and operator
URL: https://github.com/apache/incubator-mxnet/pull/16009#discussion_r326084892
 
 

 ##########
 File path: src/operator/elemwise_op_common.h
 ##########
 @@ -186,6 +186,25 @@ inline bool ElemwiseType(const nnvm::NodeAttrs& attrs,
     attrs, in_attrs, out_attrs, -1);
 }
 
+// Special case of ElemwiseType. Constrains dtype to integer types
+template<index_t n_in, index_t n_out>
+inline bool ElemwiseIntType(const nnvm::NodeAttrs& attrs,
+                         std::vector<int> *in_attrs,
 
 Review comment:
   alignment

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services