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

Method __init__

monai/transforms/post/array.py:1167–1169  ·  view source on GitHub ↗
(self, sampling: None | float | list[float] = None)

Source from the content-addressed store, hash-verified

1165 backend = [TransformBackends.NUMPY, TransformBackends.CUPY]
1166
1167 def __init__(self, sampling: None | float | list[float] = None) -> None:
1168 super().__init__()
1169 self.sampling = sampling
1170
1171 def __call__(self, img: NdarrayOrTensor) -> NdarrayOrTensor:
1172 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected