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

Method __init__

monai/inferers/inferer.py:766–769  ·  view source on GitHub ↗
(self, spatial_dim: int = 0, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

764 """
765
766 def __init__(self, spatial_dim: int = 0, *args: Any, **kwargs: Any) -> None:
767 self.spatial_dim = spatial_dim
768 super().__init__(*args, **kwargs)
769 self.orig_roi_size = ensure_tuple(self.roi_size)
770
771 def __call__(
772 self,

Callers

nothing calls this directly

Calls 2

ensure_tupleFunction · 0.90
__init__Method · 0.45

Tested by

no test coverage detected