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 2020/03/04 23:59:19 UTC
[GitHub] [incubator-mxnet] sxjscience opened a new issue #17766: [Numpy]
Symbolic basic indexing bug
sxjscience opened a new issue #17766: [Numpy] Symbolic basic indexing bug
URL: https://github.com/apache/incubator-mxnet/issues/17766
Reproducible example:
```python
import mxnet as mx
mx.npx.set_np()
class IntegerIndexing(mx.gluon.HybridBlock):
def __init__(self, a, prefix=None, params=None):
super().__init__(prefix=prefix, params=params)
self._a = a
def hybrid_forward(self, F, x):
return x[self._a]
net = IntegerIndexing(-1)
net.hybridize()
net(mx.np.ones(3,))
```
Error:
```
MXNetError: MXNetError: Error in operator integerindexing0_reshape0: [23:58:56] ../src/operator/numpy/np_matrix_op.cc:243: Check failed: src[src_inx] == 1 (0 vs. 1) : -3 index should only be used to skip dimension size 1
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
[GitHub] [incubator-mxnet] sxjscience closed issue #17766: [Numpy] Symbolic
basic indexing bug
Posted by GitBox <gi...@apache.org>.
sxjscience closed issue #17766: [Numpy] Symbolic basic indexing bug
URL: https://github.com/apache/incubator-mxnet/issues/17766
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
[GitHub] [incubator-mxnet] reminisce commented on issue #17766: [Numpy]
Symbolic basic indexing bug
Posted by GitBox <gi...@apache.org>.
reminisce commented on issue #17766: [Numpy] Symbolic basic indexing bug
URL: https://github.com/apache/incubator-mxnet/issues/17766#issuecomment-594959894
Imperative version works fine. Probably something wrong with the `_Symbol.__getitem__`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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
[GitHub] [incubator-mxnet] sxjscience commented on issue #17766: [Numpy]
Symbolic basic indexing bug
Posted by GitBox <gi...@apache.org>.
sxjscience commented on issue #17766: [Numpy] Symbolic basic indexing bug
URL: https://github.com/apache/incubator-mxnet/issues/17766#issuecomment-594960137
Yes, I'm about to fix it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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