Module Neuron.Embedding

type neuron_typ = Owl_neural_neuron.Make(Owl_optimise_generic.Make(Owl_algodiff_generic.Make(A))).Embedding.neuron_typ = {
  1. mutable w : Optimise.Algodiff.t;
  2. mutable init_typ : Init.typ;
  3. mutable in_dim : int;
  4. mutable in_shape : int array;
  5. mutable out_shape : int array;
}
val create : ?inputs:int -> 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 to_string : neuron_typ -> string
val to_name : unit -> string