This is an automated email from the ASF dual-hosted git repository. jxie 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 de7269b fix string representation of rnn layer (#10457) de7269b is described below commit de7269b6a8c12fa1c564829c5399c72f7d49538a Author: Sheng Zha <s...@users.noreply.github.com> AuthorDate: Sat Apr 7 18:58:37 2018 -0700 fix string representation of rnn layer (#10457) --- 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 2aaaeb2..724dbfb 100644 --- a/python/mxnet/gluon/rnn/rnn_layer.py +++ b/python/mxnet/gluon/rnn/rnn_layer.py @@ -91,7 +91,7 @@ class _RNNLayer(Block): s += ', bidirectional' s += ')' shape = self.i2h_weight[0].shape - mapping = '{0} -> {1}'.format(shape[1] if shape[1] else None, shape[0]) + mapping = '{0} -> {1}'.format(shape[1] if shape[1] else None, shape[0] / self._gates) return s.format(name=self.__class__.__name__, mapping=mapping, **self.__dict__) -- To stop receiving notification emails like this one, please contact j...@apache.org.