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 2018/05/10 04:38:13 UTC

[GitHub] piiswrong commented on a change in pull request #10815: [MXNET-402] add integer type for pad

piiswrong commented on a change in pull request #10815: [MXNET-402] add integer type for pad
URL: https://github.com/apache/incubator-mxnet/pull/10815#discussion_r187238083
 
 

 ##########
 File path: src/operator/pad.cc
 ##########
 @@ -50,7 +50,7 @@ void single_image_edge(const Tensor<cpu, 3, DType> dst,
   int oStartX = std::max(0, pad_l);
   int oStartY = std::max(0, pad_t);
 
-  int k, ip_x, ip_y;
+  size_t k, ip_x, ip_y;
 
 Review comment:
   ?

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


With regards,
Apache Git Services