Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for issue #6521 and issue #6810 #6808

Merged
merged 5 commits into from
Nov 11, 2019
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions chainer/links/connection/n_step_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def forward(self, hx, xs, **kwargs):
the hidden units.
xs (list of :class:`~chainer.Variable`): List of input sequences.
Each element ``xs[i]`` is a :class:`chainer.Variable` holding
a sequence. Its shape is ``(L_i, I)``, where ``L_t`` is the
a sequence. Its shape is ``(L_i, I)``, where ``L_i`` is the
length of a sequence for batch ``i``, and ``I`` is the size of
the input and is equal to ``in_size``.

Expand All @@ -156,7 +156,7 @@ def forward(self, hx, xs, **kwargs):
``ys[i]`` holds hidden states of the last layer corresponding
to an input ``xs[i]``. Its shape is ``(L_i, N)`` for
uni-directional RNN and ``(L_i, 2N)`` for bi-directional RNN
where ``L_t`` is the length of a sequence for batch ``i``,
where ``L_i`` is the length of a sequence for batch ``i``,
and ``N`` is size of hidden units.
"""
(hy,), ys = self._call([hx], xs, **kwargs)
Expand Down