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/04 00:23:53 UTC
[GitHub] leezu opened a new issue #11550: NDarray should support __setitem__
with empty key, value
leezu opened a new issue #11550: NDarray should support __setitem__ with empty key, value
URL: https://github.com/apache/incubator-mxnet/issues/11550
## Description
Consider
```python
import numpy as np
a = np.arange(3)
b = np.array([])
a[:len(b)] = b
import mxnet as mx
a = mx.nd.arange(3)
b = mx.nd.array([])
a[:len(b)] = b
```
The first half works fine, but mxnet fails on the second half.
## Environment info (Required)
At least mxnet 1.2 and master
----------------------------------------------------------------
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