IBM / pytorch-seq2seq

An open source framework for seq2seq models in PyTorch.
https://ibm.github.io/pytorch-seq2seq/public/index.html
Apache License 2.0
1.5k stars 376 forks source link

replace size_average param #190

Closed breid1313 closed 3 years ago

breid1313 commented 5 years ago

The size_average parameter is being depreciated. The preferred way to handle loss summation/averaging is now:

size_average=True => reduction='mean' size_average=False => reduction='false'

documentation is here

breid1313 commented 3 years ago

Cleaning up my PRs. Closing due to lack of repo activity.