You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by sx...@apache.org on 2018/03/18 23:11:38 UTC

[incubator-mxnet] branch master updated: Update rnn_layer.py (#10153)

This is an automated email from the ASF dual-hosted git repository.

sxjscience pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 6e1f58d  Update rnn_layer.py (#10153)
6e1f58d is described below

commit 6e1f58d4a8eb15dea9d23ff7ae10c484bcd5e43e
Author: Sheng Zha <sz...@users.noreply.github.com>
AuthorDate: Sun Mar 18 16:11:31 2018 -0700

    Update rnn_layer.py (#10153)
    
    fixes #10152
---
 python/mxnet/gluon/rnn/rnn_layer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/python/mxnet/gluon/rnn/rnn_layer.py b/python/mxnet/gluon/rnn/rnn_layer.py
index 2fac399..c82e953 100644
--- a/python/mxnet/gluon/rnn/rnn_layer.py
+++ b/python/mxnet/gluon/rnn/rnn_layer.py
@@ -254,7 +254,7 @@ class RNN(_RNNLayer):
         The number of features in the hidden state h.
     num_layers: int, default 1
         Number of recurrent layers.
-    activation: {'relu' or 'tanh'}, default 'tanh'
+    activation: {'relu' or 'tanh'}, default 'relu'
         The activation function to use.
     layout : str, default 'TNC'
         The format of input and output tensors. T, N and C stand for

-- 
To stop receiving notification emails like this one, please contact
sxjscience@apache.org.