MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / __init__

Method __init__

monai/transforms/spatial/dictionary.py:1523–1532  ·  view source on GitHub ↗
(
        self,
        keys: KeysCollection,
        spatial_axis: Sequence[int] | int | None = None,
        allow_missing_keys: bool = False,
        lazy: bool = False,
    )

Source from the content-addressed store, hash-verified

1521 backend = Flip.backend
1522
1523 def __init__(
1524 self,
1525 keys: KeysCollection,
1526 spatial_axis: Sequence[int] | int | None = None,
1527 allow_missing_keys: bool = False,
1528 lazy: bool = False,
1529 ) -> None:
1530 MapTransform.__init__(self, keys, allow_missing_keys)
1531 LazyTransform.__init__(self, lazy=lazy)
1532 self.flipper = Flip(spatial_axis=spatial_axis)
1533
1534 @LazyTransform.lazy.setter # type: ignore
1535 def lazy(self, val: bool):

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

FlipClass · 0.90

Tested by

no test coverage detected