{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/incubator-mxnet/issues/11915","repository_url":"https://api.github.com/repos/apache/incubator-mxnet","labels_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/11915/labels{/name}","comments_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/11915/comments","events_url":"https://api.github.com/repos/apache/incubator-mxnet/issues/11915/events","html_url":"https://github.com/apache/incubator-mxnet/issues/11915","id":345279967,"node_id":"MDU6SXNzdWUzNDUyNzk5Njc=","number":11915,"title":"the behavior of np.zeros_like(x) if x is a NDArray is unexpected.","user":{"login":"kohillyang","id":7751507,"node_id":"MDQ6VXNlcjc3NTE1MDc=","avatar_url":"https://avatars3.githubusercontent.com/u/7751507?v=4","gravatar_id":"","url":"https://api.github.com/users/kohillyang","html_url":"https://github.com/kohillyang","followers_url":"https://api.github.com/users/kohillyang/followers","following_url":"https://api.github.com/users/kohillyang/following{/other_user}","gists_url":"https://api.github.com/users/kohillyang/gists{/gist_id}","starred_url":"https://api.github.com/users/kohillyang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kohillyang/subscriptions","organizations_url":"https://api.github.com/users/kohillyang/orgs","repos_url":"https://api.github.com/users/kohillyang/repos","events_url":"https://api.github.com/users/kohillyang/events{/privacy}","received_events_url":"https://api.github.com/users/kohillyang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-27T15:57:37Z","updated_at":"2018-07-27T15:57:37Z","closed_at":null,"author_association":"NONE","body":"```python\r\nimport numpy as np\r\nimport mxnet.ndarray as nd\r\nimport mxnet as mx\r\nprint(mx.__version__)\r\nx = nd.zeros(shape=(17,5))\r\nprint(x.shape)\r\nprint(np.zeros_like(x).shape)\r\nprint(type(x))\r\nprint(nd.zeros_like(x).shape)\r\n```\r\nThe output is:\r\n```bash\r\n1.2.0\r\n(17, 5)\r\n(17, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1)\r\n<class 'mxnet.ndarray.ndarray.NDArray'>\r\n(17, 5)\r\n```\r\nwhich may be a little confusing."}}
{"actor":{"display_login":"kohillyang"}}