package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type layer = {
  1. mutable w : t;
  2. mutable b : t;
  3. mutable init_typ : Init.typ;
  4. mutable in_shape : int array;
  5. mutable out_shape : int array;
}
val create : ?inputs:int -> int -> 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.