klyn.math.nn.optimizers.Adam.restoreCheckpoint
method
public restoreCheckpoint(states as IList<AdamState<T>>) as Void
Description

Restores checked per-parameter moments and bias-correction powers. Tensor contents are retained; callers must not mutate states concurrently.

Parameters
ParameterDescription
statesDistinct parameter identities with matching moment shapes.
Throws
  • ValueException for invalid states; existing states remain unchanged.
Example

optimizer.restoreCheckpoint(savedStates)