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:
[email protected]


With regards,
Apache Git Services

Reply via email to