Method
__init__
(
self, keys: KeysCollection, batch_size: int, alpha: float = 1.0, allow_missing_keys: bool = False
)
Source from the content-addressed store, hash-verified
| 36 | """ |
| 37 | |
| 38 | def __init__( |
| 39 | self, keys: KeysCollection, batch_size: int, alpha: float = 1.0, allow_missing_keys: bool = False |
| 40 | ) -> None: |
| 41 | MapTransform.__init__(self, keys, allow_missing_keys) |
| 42 | self.mixup = MixUp(batch_size, alpha) |
| 43 | |
| 44 | def set_random_state(self, seed: int | None = None, state: np.random.RandomState | None = None) -> MixUpd: |
| 45 | super().set_random_state(seed, state) |
Tested by
no test coverage detected