struct
SushiAI::Train::TrainerOptions
How the loop behaves.
- Declared in
include/SushiAI/train/trainer.hpp
Public attributes
int64_t epochs = 1How many passes over the dataset fit() makes.
bool track_accuracy = trueScore accuracy, at the cost of one host read of the logits per step.
bool profile = falseCollect the runtime's per-node timings; needs a profiling RuntimeContext.
OptimizerPlacement optimizer_placement = OptimizerPlacement::IN_PLANWhether to fold the optimizer's update into the compiled step.
const Graph::IFusionSelector * fusion_selector = nullptrSpecifies the fusion selector for device-specific kernel variants.
const Graph::IPrecisionPolicy * precision = nullptrPrecision policy used to validate operand types before lowering.

