inferno.io.core package¶
Submodules¶
inferno.io.core.base module¶
-
class
inferno.io.core.base.
IndexSpec
(index=None, base_sequence_at_index=None)[source]¶ Bases: object
Class to wrap any extra index information a Dataset object might want to send back. This could be useful in (say) inference, where we would wish to (asynchronously) know more about the current input.
inferno.io.core.concatenate module¶
inferno.io.core.data_utils module¶
inferno.io.core.zip module¶
-
class
inferno.io.core.zip.
Zip
(*datasets, sync=False, transforms=None)[source]¶ Bases: inferno.io.core.base.SyncableDataset
Zip two or more datasets to one dataset. If the datasets implement synchronization primitives, they are all synchronized with the first dataset.
-
class
inferno.io.core.zip.
ZipReject
(*datasets, sync=False, transforms=None, rejection_dataset_indices, rejection_criterion)[source]¶ Bases: inferno.io.core.zip.Zip
Extends Zip by the functionality of rejecting samples that don’t fulfill a specified rejection criterion.