package torch

  1. Overview
  2. Docs
type t = Torch_core.Device.t =
  1. | Cpu
  2. | Cuda of int
val cuda_if_available : unit -> t