Module Sig.Momentum

Momentum module

type typ =
  1. | Standard of float
  2. | Nesterov of float
  3. | None

Types of momentum functions.

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

Execute the computations defined in module typ.

val default : typ -> typ

Create module typ with default values.

val to_string : typ -> string

Convert the module typ to its string representation.