TrainingCheckpoint class

Snapshot of a fixed-epoch training session. Dataset/loss remain caller-owned. JSON getters return deep copies; no live weights/moments are shared.

Implemented types

Constructors

TrainingCheckpoint({required Map<String, dynamic> model, required Map<String, dynamic> optimizer, required Map<String, dynamic> optimizerState, required int epochsCompleted, required int seed})
TrainingCheckpoint.fromJson(Map<String, dynamic> json)
factory

Properties

epochsCompleted → int
final
hashCode → int
The hash code for this object.
no setterinherited
model → Map<String, dynamic>
no setter
optimizer → Map<String, dynamic>
no setter
optimizerState → Map<String, dynamic>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
seed → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited