TrainingLossEvent

Models & Types ยท AiDotNet.Configuration

Emitted once per call to TrainWithTape with the scalar loss value returned by the loss function for that batch. Use to track loss trajectory across epochs without hand-instrumenting the loop.

Inheritance: TrainingDiagnosticEvent โ†’ TrainingLossEvent

Implements: IEquatable<TrainingLossEvent>

Constructors

Constructor Summary
TrainingLossEvent(int StepIndex, double LossValue, int OutputRank, long OutputLength) Emitted once per call to TrainWithTape with the scalar loss value returned by the loss function for that batch.

Properties

Property Summary
double LossValue { get; set; }
int OutputRank { get; set; }
int StepIndex { get; set; }
long OutputLength { get; set; }

Methods

Method Summary
TrainingLossEvent <Clone>$()
bool Equals(TrainingDiagnosticEvent other)
bool Equals(TrainingLossEvent other)
bool Equals(object obj)
bool op_Equality(TrainingLossEvent left, TrainingLossEvent right)
bool op_Inequality(TrainingLossEvent left, TrainingLossEvent right)
int GetHashCode()
string ToString()
void Deconstruct(int StepIndex, double LossValue, int OutputRank, long OutputLength)