Class StageCallbacks<T, TInput, TOutput>
Callbacks for training stage events.
public class StageCallbacks<T, TInput, TOutput>
Type Parameters
TThe numeric data type used for calculations.
TInputThe input data type for the model.
TOutputThe output data type for the model.
- Inheritance
-
StageCallbacks<T, TInput, TOutput>
- Inherited Members
Properties
OnBatchComplete
Called after each batch within the stage.
public Action<int, double>? OnBatchComplete { get; set; }
Property Value
OnEpochComplete
Called after each epoch within the stage.
public Action<int, double>? OnEpochComplete { get; set; }
Property Value
OnStageComplete
Called when the stage completes successfully.
public Action<TrainingStageResult<T, TInput, TOutput>>? OnStageComplete { get; set; }
Property Value
- Action<TrainingStageResult<T, TInput, TOutput>>
OnStageError
Called if the stage encounters an error.
public Action<Exception>? OnStageError { get; set; }
Property Value
OnStageStart
Called before the stage starts.
public Action<TrainingStage<T, TInput, TOutput>>? OnStageStart { get; set; }
Property Value
- Action<TrainingStage<T, TInput, TOutput>>