satellit_sam.pytorch
satellit_sam.pytorch
Auto-generated from
satellit_sam/src/satellit_sam/pytorch.pybysatellit_sam/scripts/generate_api_docs.py.
PyTorch initialization helpers for the SAM runtime.
Functions
init
def init() -> PytorchInstance:
Initialize PyTorch defaults and return backend availability details.
Returns
PyTorch runtime information including selected device and accelerator support.
Classes
PytorchInstance
Runtime details about the selected PyTorch backend device.
Attributes
cuda_available: booldevice: strmps_available: bool
Methods
debug_info
def debug_info(self) -> None:
Log debug information about the PyTorch configuration.