Custom-Loss Training #
Custom checked supervised-loss training for the trainer API.
Mean loss for the custom trainer's concrete runtime module.
Instances For
Shared custom-loss training core for already-parsed public runtime settings.
This opens a ScalarModule for a custom supervised objective. The unified
Trainer.new ... { task := .custom ... } path uses the same checked module/loss/optimizer
machinery as the runtime trainer.
Instances For
Train on an in-memory dataset with a custom checked supervised loss and an explicit runtime override.
The shape matches the canned trainers: runtime choices come from RunConfig, training/logging
choices come from TrainOptions, and the returned handle owns the trained model for prediction.
Instances For
Train on an in-memory dataset using this custom trainer's attached runtime settings.