microsoft / constrained-graph-variational-autoencoder

Sample code for Constrained Graph Variational Autoencoders
MIT License
231 stars 57 forks source link

What's the meaning of "bucket_sizes"? #1

Closed yangnianzu0515 closed 1 year ago

yangnianzu0515 commented 3 years ago

I don't understand the meaning of "bucket_sizes".

leuchine commented 3 years ago

Hi,

bucket_sizes is used to group data, so that each bucket contains examples of roughly the same sizes. This can reduce padding and make the program more efficient in training.