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

Method __init__

monai/inferers/splitter.py:41–43  ·  view source on GitHub ↗
(self, patch_size: Sequence[int] | int, device: torch.device | str | None = None)

Source from the content-addressed store, hash-verified

39 """
40
41 def __init__(self, patch_size: Sequence[int] | int, device: torch.device | str | None = None) -> None:
42 self.patch_size = patch_size
43 self.device = device
44
45 @abstractmethod
46 def get_input_shape(self, inputs: Any) -> tuple:

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected