Method
__init__
(self, prob: float = 0.1, spatial_axis: Sequence[int] | int | None = None, lazy: bool = False)
Source from the content-addressed store, hash-verified
| 1455 | backend = Flip.backend |
| 1456 | |
| 1457 | def __init__(self, prob: float = 0.1, spatial_axis: Sequence[int] | int | None = None, lazy: bool = False) -> None: |
| 1458 | RandomizableTransform.__init__(self, prob) |
| 1459 | LazyTransform.__init__(self, lazy=lazy) |
| 1460 | self.flipper = Flip(spatial_axis=spatial_axis, lazy=lazy) |
| 1461 | |
| 1462 | @LazyTransform.lazy.setter # type: ignore |
| 1463 | def lazy(self, val: bool): |
Callers
nothing calls this directly
Tested by
no test coverage detected