what is bucket iterator in pytorch? code example
Example: what is bucket iterator in pytorch?
The BucketIterator is one of the most powerful
features of torchtext. It automatically shuffles and buckets the
input sequences into sequences of similar length.