package owl-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type typ =
  1. | Hinge
  2. | L1norm
  3. | L2norm
  4. | Quadratic
  5. | Cross_entropy
  6. | Custom of Algodiff.t -> Algodiff.t -> Algodiff.t
    (*

    Types of loss functions.

    *)
val run : typ -> Algodiff.t -> Algodiff.t -> Algodiff.t

Execute the computations defined in module ``typ``.

val to_string : typ -> string

Convert the module ``typ`` to its string representation.

OCaml

Innovation. Community. Security.