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/01/20 00:20:47 UTC

[GitHub] aidan-plenert-macdonald opened a new issue #9501: LSTM doesn't work with Symbols and HybridBlocks

aidan-plenert-macdonald opened a new issue #9501: LSTM doesn't work with Symbols and HybridBlocks
URL: https://github.com/apache/incubator-mxnet/issues/9501
 
 
   I want to use LSTM with AWS SageMaker, but I am having [problems with Symbols](https://github.com/aws/sagemaker-python-sdk/issues/51). I noticed that LSTM seems to make not attempt at using the HybridBlock pattern. For [example](https://github.com/apache/incubator-mxnet/blob/master/python/mxnet/gluon/rnn/rnn_layer.py#L173), it only defines a forward method that inherently can't be used with Symbols,
   
   ```python
       def forward(self, inputs, states=None):
           batch_size = inputs.shape[self._layout.find('N')]
           skip_states = states is None
           if skip_states:
   ```
   
   Before I go about trying to fix this, I wanted to check if there were known issues, plans to fix it, or existing work done to fix this. Has any effort been made on this?

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