Neuron.LambdaArray
type neuron_typ =
Owl_neural_neuron.Make(Owl_optimise_generic.Make(Owl_algodiff_generic.Make(A))).LambdaArray.neuron_typ =
{
mutable lambda : Optimise.Algodiff.t array -> Optimise.Algodiff.t;
mutable in_shape : int array;
mutable out_shape : int array;
}
val create :
int array ->
(Optimise.Algodiff.t array -> Optimise.Algodiff.t) ->
neuron_typ
val connect : int array array -> neuron_typ -> unit
val copy : neuron_typ -> neuron_typ
val run : Optimise.Algodiff.t array -> neuron_typ -> Optimise.Algodiff.t
val to_string : neuron_typ -> string