Module Torch.DeviceSource

Sourcetype t = Torch_core.Device.t =
  1. | Cpu
  2. | Cuda of int
Sourceval cuda_if_available : unit -> t