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 2018/10/10 18:11:18 UTC

[GitHub] piyushghai edited a comment on issue #12783: Name conflict when serializing HybridSequentialRNNCell

piyushghai edited a comment on issue #12783: Name conflict when serializing HybridSequentialRNNCell
URL: https://github.com/apache/incubator-mxnet/issues/12783#issuecomment-428673942
 
 
   @lostella I tried running your example code provided, but I ran into the following error when I instantiated the block object : 
   
   Can you have a look at your example code once more :) 
   
   ```
   ---------------------------------------------------------------------------
   TypeError                                 Traceback (most recent call last)
   <ipython-input-3-db4f3e2308e1> in <module>()
   ----> 1 block = MyBlock()
         2 block.initialize()
         3 block.hybridize()
   
   <ipython-input-2-07390cb3caa7> in __init__(self)
         1 class MyBlock(mx.gluon.HybridBlock):
         2     def __init__(self):
   ----> 3         super().__init__()
         4         with self.name_scope():
         5             self.lstm = mx.gluon.rnn.HybridSequentialRNNCell()
   
   TypeError: super() takes at least 1 argument (0 given)
   ``` 
   

----------------------------------------------------------------
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