Open shamanez opened 7 years ago
Oh I get it. So if we use dynamic RNN encoder without bucketing dynamic rnn function will padded the input to a fixed size right?
The inputs will be padded to the longest sentence of the current batch. I think that with recent versions of tensorflow, there was a way to automatically handle padding and bucketing.
Dynamic RNN allows the model to have variable sentence lengths. Bucketing allow to efficiently minimize the padding within each batch. Those are two different complementary things.