Module Sig.Clipping

Clipping module

type typ =
  1. | L2norm of float
  2. | Value of float * float
  3. | None

Types of clipping functions.

val run : typ -> 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.