ProblemLoader.__iter__

abstract ProblemLoader.__iter__()[source]

Return the loader iterator.

Should optionally reshuffle data if shuffle=True.

Returns:

Iterator over batches.

Return type:

Iterator[ProblemBatch]