sfaira.data.store.batch_schedule.BatchDesignBasic

class sfaira.data.store.batch_schedule.BatchDesignBasic(retrieval_batch_size: int, randomized_batch_access: bool, random_access: bool, **kwargs)

Standard batched access to data.

Attributes

batchsplits

Batch size of the yieleded batches.

design

Yields index objects for one epoch of all data.

idx

Protects property from uncontrolled changing.

n_batches

Methods