marfago commented on issue #8849: support monodimensional sparse array URL: https://github.com/apache/incubator-mxnet/pull/8849#issuecomment-350420577 @piiswrong Maybe I don't get your point, but this code works ``` >>> import numpy as np >>> from scipy.sparse import csr_matrix >>> csr_matrix(3, dtype=np.int8) <1x1 sparse matrix of type '<type 'numpy.int8'>' with 1 stored elements in Compressed Sparse Row format> >>> csr_matrix(3, dtype=np.int8).toarray() array([[3]], dtype=int8) >>> csr_matrix(3, dtype=np.int8).shape (1, 1) ```
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services