package torch

  1. Overview
  2. Docs
module Tag : sig ... end
type t
val none : Base.unit -> t
val bool : Base.bool -> t
val tensor : Tensor.t -> t
val int64 : Base.Int64.t -> t
val double : Base.float -> t
val tuple : t Base.list -> t
val string : Base.string -> t
val tag : t -> Tag.t
val to_bool : t -> Base.bool
val to_tensor : t -> Tensor.t
val to_int64 : t -> Base.Int64.t
val to_double : t -> Base.float
val to_tuple : t -> t Base.list
val to_string : t -> Base.string
OCaml

Innovation. Community. Security.