oa::ValidationResult

oa::CbValidation Runs inference-only validation after every epoch. step-only runs can provide an interval and are always evaluated once at train end. The evaluator owns batching/model semantics and returns the sample-weighted mean loss. Validation time is excluded from training throughput and printed separately. register this callback before checkpoint and early-stopping callbacks, then pass metricPtr() to both.

Public Data Members

batchesoa::I64field
lossoa::F64field
samplesoa::I64field