package torch

  1. Overview
  2. Docs
type t =
  1. | None
  2. | Bool of Base.bool
  3. | Tensor of Tensor.t
  4. | Int of Base.int
  5. | Double of Base.float
  6. | Tuple of t Base.list
  7. | String of Base.string
val to_raw : t -> raw
val of_raw : raw -> t
val to_string : t -> Base.string