Neuron.LSTM
type neuron_typ =
Owl_neural_neuron.Make(Owl_optimise_generic.Make(Owl_algodiff_generic.Make(A))).LSTM.neuron_typ =
{
mutable wxi : Optimise.Algodiff.t;
mutable whi : Optimise.Algodiff.t;
mutable wxc : Optimise.Algodiff.t;
mutable whc : Optimise.Algodiff.t;
mutable wxf : Optimise.Algodiff.t;
mutable whf : Optimise.Algodiff.t;
mutable wxo : Optimise.Algodiff.t;
mutable who : Optimise.Algodiff.t;
mutable bi : Optimise.Algodiff.t;
mutable bc : Optimise.Algodiff.t;
mutable bf : Optimise.Algodiff.t;
mutable bo : Optimise.Algodiff.t;
mutable c : Optimise.Algodiff.t;
mutable h : Optimise.Algodiff.t;
mutable init_typ : Init.typ;
mutable in_shape : int array;
mutable out_shape : int array;
}
val create : ?time_steps:int -> ?inputs:int -> int -> 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 run : Optimise.Algodiff.t -> neuron_typ -> Optimise.Algodiff.t
val to_string : neuron_typ -> string