arogozhnikov opened a new issue #12672: Ndarray construction can't convert zero-dimensional numpy arrays URL: https://github.com/apache/incubator-mxnet/issues/12672 ## Description See example below ## Environment info (Required) Ubuntu 18, python 3.6, pip-installed CPU-only version MXNet 1.3.0 ## Minimum reproducible example ```python mxnet.ndarray.array( numpy.arange(1).reshape([1, 1, 1]) ) # ok mxnet.ndarray.array( numpy.arange(1).reshape([1, 1]) ) # ok mxnet.ndarray.array( numpy.arange(1).reshape([1]) ) # ok mxnet.ndarray.array( numpy.arange(1).reshape([]) ) # last one fails: ValueError: Shape inconsistent: expected () vs got (1,) ``` MXNet does support zero-dimensional arrays, so this is the problem of importing.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
