struct
SushiAI::Config::TrainSpec
One training run, end to end.
- Declared in
include/SushiAI/config/train_config.hpp
Public attributes
std::filesystem::path model_pathThe architecture file, resolved against this file's directory.
std::string objective_typeThe Train::OBJECTIVE_REGISTRY key, e.g.
"cross_entropy".
Value objective_attributesThe objective's own keys.
DataSpec dataWhere the batches come from.
std::string optimizer_typeThe Optim::OPTIMIZER_REGISTRY key, e.g.
"adamw".
Value optimizer_attributesThe optimizer's own keys.
std::int64_t epochs = 1How many passes over the dataset; at least one.
std::filesystem::path checkpointWhere to write the checkpoint; empty means do not write one.

