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

Method __init__

monai/transforms/spatial/array.py:728–730  ·  view source on GitHub ↗
(self, spatial_axis: Sequence[int] | int | None = None, lazy: bool = False)

Source from the content-addressed store, hash-verified

726 backend = [TransformBackends.TORCH]
727
728 def __init__(self, spatial_axis: Sequence[int] | int | None = None, lazy: bool = False) -> None:
729 LazyTransform.__init__(self, lazy=lazy)
730 self.spatial_axis = spatial_axis
731
732 def __call__(self, img: torch.Tensor, lazy: bool | None = None) -> torch.Tensor:
733 """

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

no outgoing calls

Tested by

no test coverage detected