ijkguo commented on issue #11661: [MXNET-670] shape_array and size_array 
operator is non-differentiable
URL: https://github.com/apache/incubator-mxnet/pull/11661#issuecomment-404352517
 
 
   https://github.com/apache/incubator-mxnet/issues/10789 This issue discussed 
generating array using a runtime shape information is impossible right now.
   
   https://github.com/apache/incubator-mxnet/pull/10889 This pr added 
shape_array and size_array to generate output of shape information.
   
   Use case in training
   ```python
   img = mx.sym.var('img')
   box = mx.sym.var('box')
   im_shape = mx.sym.shape_array(img)
   box = mx.sym.maximum(box, im_shape)
   ```

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


With regards,
Apache Git Services

Reply via email to