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 2017/12/01 04:01:47 UTC
[GitHub] weixingzhang commented on issue #8817: Creating a monodimensional sparse array returns an error
weixingzhang commented on issue #8817: Creating a monodimensional sparse array returns an error
URL: https://github.com/apache/incubator-mxnet/issues/8817#issuecomment-348395509
I agree to convert (10) to (1, 10) and make the usages below consistent.
mx.nd.zeros(10, mx.cpu()) -> shape=(10,)
mx.nd.zeros(10, mx.cpu(), stype='csr') -> error
mx.nd.zeros((1,10), mx.cpu(), stype='csr') -> shape(1,10)
----------------------------------------------------------------
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