StageCallbacks<T, TInput, TOutput>
Models & Types · AiDotNet.Models.Options
Callbacks for training stage events.
Constructors
| Constructor | Summary |
|---|---|
StageCallbacks() |
Properties
| Property | Summary |
|---|---|
Action<Exception> OnStageError { get; set; } |
Called if the stage encounters an error. |
Action<TrainingStage<T, TInput, TOutput>> OnStageStart { get; set; } |
Called before the stage starts. |
Action<TrainingStageResult<T, TInput, TOutput>> OnStageComplete { get; set; } |
Called when the stage completes successfully. |
Action<int, double> OnBatchComplete { get; set; } |
Called after each batch within the stage. |
Action<int, double> OnEpochComplete { get; set; } |
Called after each epoch within the stage. |