package torch

  1. Overview
  2. Docs
type t =
  1. | Uint8
  2. | Int8
  3. | Int16
  4. | Int
  5. | Int64
  6. | Half
  7. | Float
  8. | Double
  9. | ComplexHalf
  10. | ComplexFloat
  11. | ComplexDouble
val to_int : t -> int
val of_int_exn : int -> t
OCaml

Innovation. Community. Security.