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/01/29 21:38:54 UTC

[GitHub] stu1130 commented on a change in pull request #14014: [WIP] Export resize and support batch size

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

 ##########
 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:
   for bilinear resize operator, it's part of network instead of transformation. So it's always NCHW.

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