Element-Research / rnn

Recurrent Neural Network library for Torch7's nn
BSD 3-Clause "New" or "Revised" License
939 stars 313 forks source link

whether nn.SeqBRNN has inner maskZero? #362

Open hfxunlp opened 7 years ago

hfxunlp commented 7 years ago

If I set nn.SeqBRNN.maskzero to true, will it mask zero? or I need to encapsulate it with nn.MaskZero

supakjk commented 7 years ago

You should call .forwardModule.maskZero() and .backwardModule.maskZero()