hilbertsfc.torch.types¶
hilbertsfc.torch.types ¶
CPUBackend ¶
CPUBackend = Literal['auto', 'numba', 'torch']
CPU backend options for hilbertsfc.torch functions.
GPUBackend ¶
GPUBackend = Literal['auto', 'triton', 'torch']
GPU backend options for hilbertsfc.torch functions.
TorchCacheMode ¶
TorchCacheMode = Literal['device', 'host_only']
Cache mode for torch look-up tables (LUTs).
TorchDeviceLike ¶
Device specifier with the same semantics as torch.device.