sandeep-krishnamurthy commented on a change in pull request #14014: [WIP] 
Export resize and support batch size
URL: https://github.com/apache/incubator-mxnet/pull/14014#discussion_r251946245
 
 

 ##########
 File path: src/operator/contrib/bilinear_resize.cu
 ##########
 @@ -181,9 +108,10 @@ void 
SpatialUpSamplingBilinearUpdateOutput(mshadow::Stream<gpu> *s,
   dim3 blocks(static_cast<int>(num_kernels / num_threads) + 1);
   dim3 threads(num_threads);
   cudaStream_t stream = mshadow::Stream<gpu>::GetStream(s);
+  ImageLayout layout = NCHW;
 
 Review comment:
   so layout will always be NCHW for Resize?
   Shouldn't it be NHWC? Because users do imread(..) and the result NDArray 
will be in HWC format.

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