package owl-base

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Owl_algodiff_generic.MakeSource

Parameters

Signature

Sourceval _global_tag : int ref
Sourceval tag : unit -> int
Sourcemodule Core : sig ... end
include module type of struct include Core end
module A = Core.A
Sourcetype t = Owl_algodiff_types.Make(A).t =
  1. | F of A.elt
  2. | Arr of A.arr
  3. | DF of t * t * int
  4. | DR of t * t ref * op * int ref * int * int ref
Sourceand adjoint = t -> t ref -> (t * t) list -> (t * t) list
Sourceand register = t list -> t list
Sourceand label = string * t list
Sourceval cmp_tag : 'a -> 'a -> int
Sourceval reset_zero : t -> t
Sourceval primal : t -> t
Sourceval primal' : t -> t
Sourceval zero : t -> t
Sourceval tangent : t -> t
Sourceval adjref : t -> t ref
Sourceval adjval : t -> t
Sourceval shape : t -> int array
Sourceval row_num : t -> int
Sourceval col_num : t -> int
Sourceval numel : t -> int
Sourceval clip_by_value : amin:A.elt -> amax:A.elt -> t -> t
Sourceval clip_by_l2norm : A.elt -> t -> t
Sourceval copy_primal' : t -> t
Sourceval tile : t -> int array -> t
Sourceval repeat : t -> int array -> t
Sourceval pack_elt : A.elt -> t
Sourceval unpack_elt : t -> A.elt
Sourceval pack_flt : float -> t
Sourceval _f : float -> t
Sourceval unpack_flt : t -> float
Sourceval pack_arr : A.arr -> t
Sourceval unpack_arr : t -> A.arr
Sourceval deep_info : t -> string
Sourceval type_info : t -> string
Sourceval error_binop : string -> t -> t -> 'a
Sourceval error_uniop : string -> t -> 'a
Sourceval op_siso : t -> (t -> t) -> (t -> t) -> (t -> t -> t -> t) -> (t -> op) -> t
Sourceval op_sipo : t -> (t -> t * t) -> (t -> t * t) -> (t -> t -> t -> t) -> ((t * (t ref * t ref) * (t ref * t ref)) -> op) -> t * t
Sourceval op_sito : t -> (t -> t * t * t) -> (t -> t * t * t) -> (t -> t -> t -> t) -> ((t * (t ref * t ref * t ref) * (t ref * t ref * t ref)) -> op) -> t * t * t
Sourceval op_siao : t -> (t -> t array) -> (t -> t array) -> (t -> t -> t -> t) -> ((t * t ref array * t ref array) -> op) -> t array
Sourceval 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
include sig ... end
Sourceval _traverse_trace : Core.t list -> (Core.t, int * string * Core.t list) Hashtbl.t
Sourceval _convert_terminal_output : (Core.t, int * string * Core.t list) Hashtbl.t -> string
Sourceval _convert_dot_output : (Core.t, int * string * Core.t list) Hashtbl.t -> string
Sourceval to_trace : Core.t list -> string
Sourceval to_dot : Core.t list -> string
Sourceval pp_num : Format.formatter -> Core.t -> unit
Sourcemodule Ops : sig ... end
Sourcemodule Maths = Ops.Maths
Sourcemodule Mat = Ops.Mat
Sourcemodule Arr = Ops.Arr
Sourcemodule Linalg = Ops.Linalg
Sourcemodule NN = Ops.NN
Sourcemodule Reverse : sig ... end
include module type of struct include Reverse end
Sourceval _reverse_add : Core.t -> Core.t -> Core.t
Sourceval reverse_reset : Core.t -> unit
Sourceval reverse_push : Core.t -> Core.t -> unit
Sourceval reverse_prop : Core.t -> Core.t -> unit
Sourceval make_forward : t -> t -> int -> t
Sourceval make_reverse : t -> int -> t
Sourceval diff' : (t -> t) -> t -> t * t
Sourceval diff : (t -> t) -> t -> t
Sourceval grad' : (t -> Core.t) -> t -> t * t
Sourceval grad : (t -> Core.t) -> t -> t
Sourceval jacobianv' : (t -> t) -> t -> t -> t * t
Sourceval jacobianv : (t -> t) -> t -> t -> t
Sourceval jacobianTv' : (t -> Core.t) -> t -> Core.t -> t * t
Sourceval jacobianTv : (t -> Core.t) -> t -> Core.t -> t
Sourceval jacobian' : (t -> Core.t) -> t -> t * t
Sourceval jacobian : (t -> Core.t) -> t -> t
Sourceval gradhessian : (t -> Core.t) -> t -> t * t
Sourceval gradhessian' : (t -> Core.t) -> t -> Core.t * t * t
Sourceval hessian : (t -> Core.t) -> t -> t
Sourceval hessian' : (t -> Core.t) -> t -> Core.t * t
Sourceval gradhessianv' : (t -> t) -> t -> t -> t * t * t
Sourceval gradhessianv : (t -> t) -> t -> t -> t * t
Sourceval hessianv' : (t -> t) -> t -> t -> t * t
Sourceval hessianv : (t -> t) -> t -> t -> t
Sourceval laplacian : (t -> Core.t) -> t -> t
Sourceval laplacian' : (t -> Core.t) -> t -> Core.t * t