quaterion.dataset.label_cache_dataset module¶
- class LabelCacheDataset(dataset: IndexingDataset)[source]¶
Bases:
Dataset
[Union
[SimilarityGroupSample
,SimilarityPairSample
]],LabelCacheDatasetMixin
- class LabelCacheDatasetMixin(*args, **kwargs)[source]¶
Bases:
object
- set_mode(mode: LabelCacheMode)[source]¶
- property mode: LabelCacheMode¶
- class LabelCacheIterableDataset(dataset: IndexingIterableDataset)[source]¶
Bases:
IterableDataset
[Union
[SimilarityGroupSample
,SimilarityPairSample
]],LabelCacheDatasetMixin