TaoLv commented on a change in pull request #13555: [MXNET-1253] fix 
control_flow_op
URL: https://github.com/apache/incubator-mxnet/pull/13555#discussion_r239373093
 
 

 ##########
 File path: src/operator/tensor/control_flow_op.h
 ##########
 @@ -92,7 +92,7 @@ struct where_batch {
   // DType is the output data type
   // CType is the condition data type
   template<typename DType, typename CType>
-  MSHADOW_XINLINE static void Map(int i, DType* out, const CType* cond,
+  MSHADOW_XINLINE static void Map(index_t i, DType* out, const CType* cond,
                                   const DType* x, const DType* y, int M) {
 
 Review comment:
   `index_t M`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to