Imp.Training.FastSlow.DatasetState (Imp v0.5.0)

Copy Markdown View Source

Deterministic dataset cursor, epoch, and random-state snapshot.

Summary

Types

t()

@type t() :: %Imp.Training.FastSlow.DatasetState{
  cursor: non_neg_integer(),
  epoch: non_neg_integer(),
  rng: Imp.Training.FastSlow.Config.json_value()
}

Functions

new!(cursor, epoch, rng)

@spec new!(non_neg_integer(), non_neg_integer(), term()) :: t()