lanking520 commented on issue #12844: ERROR parameter summary of lstm layer URL: https://github.com/apache/incubator-mxnet/issues/12844#issuecomment-430769928 @soeque1 Actually I tried to run your code and get some other error: ``` Traceback (most recent call last): File "/Users/bla/testEnv/testMX/testCNN/text_cnn.py", line 27, in <module> model.add(mx.gluon.rnn.LSTM(20)) File "/Users/bla/testEnv/testMX/venv/lib/python2.7/site-packages/mxnet/gluon/nn/basic_layers.py", line 106, in add self.register_child(block) File "/Users/qingla/testEnv/testMX/venv/lib/python2.7/site-packages/mxnet/gluon/block.py", line 544, in register_child str(block), str(type(block)))) ValueError: Children of HybridBlock must also be HybridBlock, but LSTM(None -> 20, TNC) has type <class 'mxnet.gluon.rnn.rnn_layer.LSTM'>. If you are using Sequential, please try HybridSequential instead. ```
---------------------------------------------------------------- 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
