Distributed training blueprints on atomr-accel-cuda: DataParallelTrainer, PipelineParallelTrainer, TensorParallelTrainer, AsyncParameterServer, optimizer + loss enums.
//! Loss kinds.
#[derive(Debug, Clone, Copy)]pubenumLossKind{
Mse,
CrossEntropy,/// Categorical cross-entropy with per-class weights — common in
/// imbalanced classification.
WeightedCrossEntropy,}