[ 
https://issues.apache.org/jira/browse/MXNET-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16390775#comment-16390775
 ] 

ASF GitHub Bot commented on MXNET-31:
-------------------------------------

sxjscience commented on issue #9934: [MXNET-31] Support variable sequence 
length in gluon.RecurrentCell 
URL: https://github.com/apache/incubator-mxnet/pull/9934#issuecomment-371383734
 
 
   @szha @piiswrong I've added the test of VariationalDropoutCell.

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


> Support variable sequence length in gluon.RecurrentCell
> -------------------------------------------------------
>
>                 Key: MXNET-31
>                 URL: https://issues.apache.org/jira/browse/MXNET-31
>             Project: Apache MXNet
>          Issue Type: New Feature
>            Reporter: Xingjian Shi
>            Priority: Major
>
> When the input sequences have different lengths, the common approach is to 
> pad them to the same length and feed the padded data into the recurrent 
> neural network. To deal with this scenario, this PR adds a new 
> {{valid_length}} option in {{unroll}}. {{valid_length}} refers to the real 
> length of the sequences before padding. When the {{valid_length}} is given, 
> the last valid state will be returned and the padded portion in the output 
> will be masked to be zero. This feature is essential for implementing a NMT 
> model.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org
For additional commands, e-mail: issues-h...@mxnet.apache.org

Reply via email to