MCPcopy Create free account
hub / github.com/ImprintLab/Medical-SAM2 / device

Method device

sam2_train/sam2_image_predictor.py:436–437  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

434
435 @property
436 def device(self) -> torch.device:
437 return self.model.device
438
439 def reset_predictor(self) -> None:
440 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected