szha commented on a change in pull request #7352: add Sequential compatibility 
to rnn layers
URL: https://github.com/apache/incubator-mxnet/pull/7352#discussion_r132342977
 
 

 ##########
 File path: python/mxnet/gluon/rnn/rnn_layer.py
 ##########
 @@ -487,6 +502,7 @@ class GRU(_RNNLayer):
     >>> input = mx.nd.random_uniform(shape=(5, 3, 10))
     >>> h0 = mx.nd.random_uniform(shape=(3, 3, 100))
     >>> output, hn = layer(input, h0)
+    >>> output = layer(input) # zeros are used as begin state
 
 Review comment:
   Updated.
 
----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to