# `Imp.Training.FastSlow.Lookahead`
[🔗](https://github.com/deepfates/imp/blob/v0.18.1/lib/imp/training/fast_slow/state.ex#L271)

Prefetched minibatch window and deterministic dataset progress.

# `minibatch`

```elixir
@type minibatch() :: map()
```

# `t`

```elixir
@type t() :: %Imp.Training.FastSlow.Lookahead{
  checksum: String.t(),
  consumed_steps: non_neg_integer(),
  cycle: non_neg_integer(),
  dataset_cursor: non_neg_integer(),
  digest: String.t(),
  minibatches: [minibatch()]
}
```

# `consume!`

```elixir
@spec consume!(t()) :: t()
```

# `new!`

```elixir
@spec new!(non_neg_integer(), non_neg_integer(), [map()]) :: t()
```

# `validate!`

```elixir
@spec validate!(t(), pos_integer() | nil) :: t()
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
