get_batch_iterator: allow max_positions=None (#673)
Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/673 This function breaks when leaving the argument `max_positions` with the default value `None`, which is presumably not the intended behavior. Reviewed By: theweiho, myleott Differential Revision: D15937221 fbshipit-source-id: 1f5dc1c27ad9b6a89501d2dc015de12181059349
Showing
Please register or sign in to comment