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/07/12 00:33:55 UTC
[GitHub] ijkguo commented on issue #11661: [MXNET-670] shape_array and
size_array operator is non-differentiable
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:
users@infra.apache.org
With regards,
Apache Git Services