quaterion.train.cache_mixin module¶
- class CacheMixin[source]¶
Bases:
object
- classmethod load_cache(dir_path: str, encoders: Dict[str, Encoder], train_dataloader: SimilarityDataLoader, val_dataloader: SimilarityDataLoader | None)[source]¶
- classmethod save_cache(dir_path: str | None, encoders: Dict[str, Encoder], train_dataloader: SimilarityDataLoader, val_dataloader: SimilarityDataLoader | None)[source]¶