package torch

  1. Overview
  2. Docs

Module Torch_core.KindSource

Sourcetype t =
  1. | Uint8
  2. | Int8
  3. | Int16
  4. | Int
  5. | Int64
  6. | Half
  7. | Float
  8. | Double
  9. | ComplexHalf
  10. | ComplexFloat
  11. | ComplexDouble
Sourceval to_int : t -> int
Sourceval of_int_exn : int -> t
Sourceval (=) : t -> t -> bool
Sourceval (<>) : t -> t -> bool
OCaml

Innovation. Community. Security.