larroy commented on a change in pull request #14570: [WIP] use a compile flag 
to use int64 tensor size
URL: https://github.com/apache/incubator-mxnet/pull/14570#discussion_r271448022
 
 

 ##########
 File path: include/mxnet/tensor_blob.h
 ##########
 @@ -456,7 +456,7 @@ class FieldEntry<mxnet::TShape>
     this->enforce_nonzero_ = true;
     return this->self();
   }
-  inline FieldEntry<mxnet::TShape> &set_expect_ndim(mxnet::index_t ndim) {
+  inline FieldEntry<mxnet::TShape> &set_expect_ndim(int ndim) {
 
 Review comment:
   why int? I know dimensions can't be too high but wouldn't it make sense to 
have a typedef for it?

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


With regards,
Apache Git Services

Reply via email to