package owl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type state = Owl_optimise_generic.Make(Owl_dense_matrix.S)(Owl_dense_ndarray.S).Checkpoint.state = {
  1. mutable current_batch : int;
  2. mutable batches_per_epoch : int;
  3. mutable epochs : float;
  4. mutable batches : int;
  5. mutable loss : t array;
  6. mutable start_at : float;
  7. mutable stop : bool;
  8. mutable gs : t array array;
  9. mutable ps : t array array;
  10. mutable us : t array array;
  11. mutable ch : t array array;
}
type typ = Owl_optimise_generic.Make(Owl_dense_matrix.S)(Owl_dense_ndarray.S).Checkpoint.typ =
  1. | Batch of int
  2. | Epoch of float
  3. | Custom of state -> unit
  4. | None
val init_state : int -> float -> state
val default_checkpoint_fun : (string -> 'a) -> 'a
val print_state_info : state -> unit
val print_summary : state -> unit
val run : typ -> (string -> unit) -> int -> t -> state -> unit
val to_string : typ -> string
OCaml

Innovation. Community. Security.