You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/07/31 02:12:09 UTC

[GitHub] leezu commented on a change in pull request #7258: Fixes for gluon RNN [WIP]

leezu commented on a change in pull request #7258: Fixes for gluon RNN [WIP]
URL: https://github.com/apache/incubator-mxnet/pull/7258#discussion_r130262116
 
 

 ##########
 File path: python/mxnet/gluon/rnn/rnn_layer.py
 ##########
 @@ -291,8 +291,16 @@ def __init__(self, hidden_size, num_layers=1, activation='relu',
                                   'rnn_'+activation, **kwargs)
 
     def state_info(self, batch_size=0):
-        return [{'shape': (self._num_layers * self._dir, batch_size, self._hidden_size),
-                 '__layout__': 'LNC'}]
 
 Review comment:
   I will revert this part. This is indeed not the right place to address the layout issue. Sorry for the confusion.
 
----------------------------------------------------------------
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