I am using an nn.GRU inside the transfer module of a Recurrent module (I'm doing this because a sequence-to-sequence model needs to redirect its output back into itself during testing -- that's what I'm using Recurrent for). My questions are:
Will the GRUs feed their previous output back into themselves, in addition to the feedback that occurs as part of Recurrent?
Right now the GRUs are causing a memory leak somehow (my memory usage increases until I get an out of memory error). How do I prevent this?
I guess I should also ask: is there a better way of going about this whole business? Thanks.
I am using an
nn.GRU
inside thetransfer
module of aRecurrent
module (I'm doing this because a sequence-to-sequence model needs to redirect its output back into itself during testing -- that's what I'm usingRecurrent
for). My questions are:Recurrent
?I guess I should also ask: is there a better way of going about this whole business? Thanks.