package torch

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

Innovation. Community. Security.