ZiyueHuang opened a new pull request #7449: Fix a bug in 
SequentialRNNCell.reset()
URL: https://github.com/apache/incubator-mxnet/pull/7449
 
 
   `SequentialRNNCell.reset()` should invoke reset in all layer cells. This is 
an issue in 
https://github.com/awslabs/sockeye/blob/master/sockeye/decoder.py#L379. It is 
wrong if someone use `SequentialRNNCell.__call__()` to unroll the network as 
the way in `BaseRNNCell.unroll()`. Although `SequentialRNNCell.unroll()` is 
correct now because it uses unroll in all layer cells (cell.unroll will reset 
at the beginning).
 
----------------------------------------------------------------
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