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/05/22 11:11:59 UTC
[GitHub] Godricly opened a new issue #11022: nd.stack with different input
sizes
Godricly opened a new issue #11022: nd.stack with different input sizes
URL: https://github.com/apache/incubator-mxnet/issues/11022
```
a = nd.zeros((5,5,3))
b = nd.zeros((4,4,3))
c = nd.stack(*[a,b])
print c.shape
print c[0], c[1]
```
output
```
(2L, 5L, 5L, 3L)
mxnet.base.MXNetError: [19:08:56] include/mxnet/././tensor_blob.h:257: Check failed: this->shape_.Size() == shape.Size() (48 vs. 75) TBlob.get_with_shape: new and old shape do not match total elements
```
It is able to get output shape. But you can not access the data within.
----------------------------------------------------------------
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