package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Batch module

type typ =
  1. | Full
  2. | Mini of int
  3. | Sample of int
  4. | Stochastic

Types of batches.

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

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

val batches : typ -> Algodiff.t -> int

Return the total number of batches given a batch ``typ``.

val to_string : typ -> string

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