Module Owl_neural_compiler.Make

Parameters

Signature

module Engine : sig ... end
module Neural : sig ... end

Naive compilation functions, need to pass in loss function

Shallow compilation functions, includes only gradient

Deep compilation functions, includes gs, us, ps, ch, and new weights

val make_update_fun : Engine.graph -> unit -> unit
val model_inputs : ?optimise:bool -> ?batch_size:int -> Neural.Graph.network -> Neural.Algodiff.t array -> Neural.Algodiff.t array
val model : ?optimise:bool -> ?batch_size:int -> Neural.Graph.network -> Neural.Algodiff.t -> Neural.Algodiff.t