szha closed pull request #10348: Fix RNN doc
URL: https://github.com/apache/incubator-mxnet/pull/10348
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/python/mxnet/gluon/rnn/rnn_layer.py 
b/python/mxnet/gluon/rnn/rnn_layer.py
index c82e95333e6..2aaaeb25d76 100644
--- a/python/mxnet/gluon/rnn/rnn_layer.py
+++ b/python/mxnet/gluon/rnn/rnn_layer.py
@@ -244,8 +244,8 @@ class RNN(_RNNLayer):
     .. math::
         h_t = \tanh(w_{ih} * x_t + b_{ih}  +  w_{hh} * h_{(t-1)} + b_{hh})
 
-    where :math:`h_t` is the hidden state at time `t`, and :math:`x_t` is the 
hidden
-    state of the previous layer at time `t` or :math:`input_t` for the first 
layer.
+    where :math:`h_t` is the hidden state at time `t`, and :math:`x_t` is the 
output
+    of the previous layer at time `t` or :math:`input_t` for the first layer.
     If nonlinearity='relu', then `ReLU` is used instead of `tanh`.
 
     Parameters


 

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