package tensorflow

  1. Overview
  2. Docs
type ('a, 'b) t = ('a, 'b, Bigarray.c_layout) Bigarray.Genarray.t
type p =
  1. | P : ('a, 'b) t -> p
val print : p -> unit
val to_elt_list : ('a, 'b) t -> 'a list
val to_float_list : p -> float list
val create : ('a, 'b) Bigarray.kind -> int array -> ('a, 'b) t
val create1 : ('a, 'b) Bigarray.kind -> int -> ('a, 'b) t
val create2 : ('a, 'b) Bigarray.kind -> int -> int -> ('a, 'b) t
val create3 : ('a, 'b) Bigarray.kind -> int -> int -> int -> ('a, 'b) t
val copy : ('a, 'b) t -> ('a, 'b) t
val set : ('a, 'b) t -> int array -> 'a -> unit
val get : ('a, 'b) t -> int array -> 'a
val dims : ('a, 'b) t -> int array
val num_dims : ('a, 'b) t -> int
val kind : ('a, 'b) t -> ('a, 'b) Bigarray.kind
val sub_left : ('a, 'b) t -> int -> int -> ('a, 'b) t
val fill : ('a, 'b) t -> 'a -> unit
val blit : ('a, 'b) t -> ('a, 'b) t -> unit
OCaml

Innovation. Community. Security.