source

EpochIterator

 EpochIterator (loader, order:Sequence[int])

A class that represents a thread of control.

This class can be safely subclassed in a limited fashion. There are two ways to specify the activity: by passing a callable object to the constructor, or by overriding the run() method in a subclass.


source

AsyncEpochIterator

 AsyncEpochIterator (loader, order:Sequence[int],
                     after_batch:fastcore.transform.Pipeline)

A class that represents a thread of control.

This class can be safely subclassed in a limited fashion. There are two ways to specify the activity: by passing a callable object to the constructor, or by overriding the run() method in a subclass.