Optimise.Losstype typ =
Owl_neural_neuron.Make(Owl_optimise_generic.Make(Owl_algodiff_generic.Make(A))).Optimise.Loss.typ =
| Hinge| L1norm| L2norm| Quadratic| Cross_entropy| Custom of Algodiff.t -> Algodiff.t -> Algodiff.tval run : typ -> Algodiff.t -> Algodiff.t -> Algodiff.tval to_string : typ -> string