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

Method get_inferer

tests/nonconfig_workflow.py:237–238  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

235 return torch.device("cuda" if torch.cuda.is_available() else "cpu")
236
237 def get_inferer(self):
238 return SlidingWindowInferer(roi_size=self.parser.roi_size, sw_batch_size=1, overlap=0)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected