{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/12672","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/12672/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/12672/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/12672/events","html_url":"https://github.com/apache/incubator-mxnet/issues/12672","id":364142469,"node_id":"MDU6SXNzdWUzNjQxNDI0Njk=","number":12672,"title":"Ndarray construction can't convert zero-dimensional numpy arrays","user":{"login":"arogozhnikov","id":6318811,"node_id":"MDQ6VXNlcjYzMTg4MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/6318811?v=4","gravatar_id":"","url":"https://api.github.com/users/arogozhnikov","html_url":"https://github.com/arogozhnikov","followers_url":"https://api.github.com/users/arogozhnikov/followers","following_url":"https://api.github.com/users/arogozhnikov/following{/other_user}","gists_url":"https://api.github.com/users/arogozhnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/arogozhnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arogozhnikov/subscriptions","organizations_url":"https://api.github.com/users/arogozhnikov/orgs","repos_url":"https://api.github.com/users/arogozhnikov/repos","events_url":"https://api.github.com/users/arogozhnikov/events{/privacy}","received_events_url":"https://api.github.com/users/arogozhnikov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-26T17:52:21Z","updated_at":"2018-09-26T17:52:21Z","closed_at":null,"author_association":"NONE","body":"## Description\r\n\r\nSee example below\r\n\r\n## Environment info (Required)\r\n\r\nUbuntu 18, python 3.6, pip-installed CPU-only version\r\nMXNet 1.3.0\r\n\r\n## Minimum reproducible example\r\n\r\n```python\r\nmxnet.ndarray.array( numpy.arange(1).reshape([1, 1, 1]) ) # ok\r\nmxnet.ndarray.array( numpy.arange(1).reshape([1, 1]) ) # ok\r\nmxnet.ndarray.array( numpy.arange(1).reshape([1]) ) # ok\r\nmxnet.ndarray.array( numpy.arange(1).reshape([]) )\r\n# last one fails: ValueError: Shape inconsistent: expected () vs got (1,)\r\n```\r\n\r\nMXNet does support zero-dimensional arrays, so this is the problem of importing.\r\n"}}
{"actor":{"display_login":"arogozhnikov"}}