package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module A : sig ... end
type t = Owl_algodiff_types.Make(Owl_dense_ndarray.S).t =
  1. | F of A.elt
  2. | Arr of A.arr
  3. | DF of t * t * int
  4. | DR of t * t Stdlib.ref * op * int Stdlib.ref * int * int Stdlib.ref
and adjoint = t -> t Stdlib.ref -> (t * t) list -> (t * t) list
and register = t list -> t list
and label = string * t list
and op = adjoint * register * label
val cmp_tag : 'a -> 'a -> int
val reset_zero : t -> t
val primal : t -> t
val primal' : t -> t
val zero : t -> t
val tangent : t -> t
val adjref : t -> t Stdlib.ref
val adjval : t -> t
val shape : t -> int array
val row_num : t -> int
val col_num : t -> int
val numel : t -> int
val clip_by_value : amin:A.elt -> amax:A.elt -> t -> t
val clip_by_l2norm : A.elt -> t -> t
val copy_primal' : t -> t
val tile : t -> int array -> t
val repeat : t -> int array -> t
val pack_elt : A.elt -> t
val unpack_elt : t -> A.elt
val pack_flt : float -> t
val _f : float -> t
val unpack_flt : t -> float
val pack_arr : A.arr -> t
val unpack_arr : t -> A.arr
val deep_info : t -> string
val type_info : t -> string
val error_binop : string -> t -> t -> 'a
val error_uniop : string -> t -> 'a
val op_siso : t -> (t -> t) -> (t -> t) -> (t -> t -> t -> t) -> (t -> op) -> t
val op_sipo : t -> (t -> t * t) -> (t -> t * t) -> (t -> t -> t -> t) -> ((t * (t Stdlib.ref * t Stdlib.ref) * (t Stdlib.ref * t Stdlib.ref)) -> op) -> t * t
val op_sito : t -> (t -> t * t * t) -> (t -> t * t * t) -> (t -> t -> t -> t) -> ((t * (t Stdlib.ref * t Stdlib.ref * t Stdlib.ref) * (t Stdlib.ref * t Stdlib.ref * t Stdlib.ref)) -> op) -> t * t * t
val op_siao : t -> (t -> t array) -> (t -> t array) -> (t -> t -> t -> t) -> ((t * t Stdlib.ref array * t Stdlib.ref array) -> op) -> t array
val op_piso : t -> t -> (t -> t -> t) -> (t -> t -> t) -> (t -> t -> t -> t) -> (t -> t -> t -> t) -> (t -> t -> t -> t -> t -> t) -> (t -> t -> op) -> (t -> t -> op) -> (t -> t -> op) -> t
OCaml

Innovation. Community. Security.