package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type layer = {
  1. mutable whh : t;
  2. mutable wxh : t;
  3. mutable why : t;
  4. mutable bh : t;
  5. mutable by : t;
  6. mutable h : t;
  7. mutable act : Activation.typ;
  8. mutable init_typ : Init.typ;
  9. mutable in_shape : int array;
  10. mutable out_shape : int array;
}
val create : ?inputs:int -> int -> int -> Activation.typ -> Init.typ -> layer
val connect : int array -> layer -> unit
val init : layer -> unit
val reset : layer -> unit
val mktag : int -> layer -> unit
val mkpar : layer -> t array
val mkpri : layer -> Owl_algodiff.S.t array
val mkadj : layer -> Owl_algodiff.S.t array
val update : layer -> Owl_algodiff.S.t array -> unit
val to_string : layer -> string
OCaml

Innovation. Community. Security.