I have installed the newest mxnet version 1.0.0 from pip. When I print the Layer's weight, it assert a KeyError: "Shape". I'm new in mxnet and everything I have followed with the mxnet official tutorial.
import mxnet
from mxnet import nd,gluon,autograd
net=gluon.nn.Dense(10,in_units=30)
print (net.weight)
The error is:
Traceback (most recent call last):
File "/home/user/docs/mxnet/mtcnn/tmp/learn_mxnet.py", line 5, in <module>
print (net.weight)
File "/usr/local/lib/python2.7/dist-packages/mxnet/gluon/parameter.py", line 120, in __repr__
return s.format(**self.__dict__)
KeyError: 'shape'
I think it may be the problem of the version 1.0.0.