package torch

  1. Overview
  2. Docs
type t =
  1. | Cpu
  2. | Cuda of int
val to_int : t -> int
val of_int : int -> t