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/11 21:45:13 UTC

[GitHub] anirudhacharya commented on issue #13679: add crop gluon transform

anirudhacharya commented on issue #13679: add crop gluon transform
URL: https://github.com/apache/incubator-mxnet/pull/13679#issuecomment-453666877
 
 
   there is [ndarray.crop](https://mxnet.incubator.apache.org/api/python/ndarray/ndarray.html?highlight=crop#mxnet.ndarray.crop) and [symbol.crop](https://mxnet.incubator.apache.org/api/python/symbol/symbol.html?highlight=crop#mxnet.symbol.crop) which have been deprecated in favor of `slice`
   
   Then there are 
    - [image.fixed_crop](http://mxnet.incubator.apache.org/api/python/image/image.html#mxnet.image.fixed_crop)
    - [image.random_crop](http://mxnet.incubator.apache.org/api/python/image/image.html#mxnet.image.random_crop)
    - [image.center_crop](http://mxnet.incubator.apache.org/api/python/image/image.html#mxnet.image.center_crop)
   
   Is it possible to reuse one of these for the new Hybrid block that is being created? For instance, the crop definition in this PR is very similar to `image.fixed_crop`. Can't `fixed_crop` be modified and then later reused in the Hybrid block?
   

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