Module Neuron.Recurrent

type neuron_typ = Owl_neural_generic.Make_Embedded(Engine).Neuron.Recurrent.neuron_typ = {
  1. mutable whh : Optimise.Algodiff.t;
  2. mutable wxh : Optimise.Algodiff.t;
  3. mutable why : Optimise.Algodiff.t;
  4. mutable bh : Optimise.Algodiff.t;
  5. mutable by : Optimise.Algodiff.t;
  6. mutable h : Optimise.Algodiff.t;
  7. mutable hiddens : int;
  8. mutable act : Activation.typ;
  9. mutable init_typ : Init.typ;
  10. mutable in_shape : int array;
  11. mutable out_shape : int array;
}
val create : ?time_steps:int -> ?inputs:int -> int -> int -> Activation.typ -> Init.typ -> neuron_typ
val connect : int array -> neuron_typ -> unit
val init : neuron_typ -> unit
val reset : neuron_typ -> unit
val mktag : int -> neuron_typ -> unit
val mkpar : neuron_typ -> Optimise.Algodiff.t array
val mkpri : neuron_typ -> Optimise.Algodiff.t array
val mkadj : neuron_typ -> Optimise.Algodiff.t array
val update : neuron_typ -> Optimise.Algodiff.t array -> unit
val copy : neuron_typ -> neuron_typ
val to_string : neuron_typ -> string
val to_name : unit -> string