Residual Classifier Training Example #
This command trains the public rank-polymorphic residual classifier on a small CIFAR-10 crop. The model contains a convolutional stem, two residual branches, global average pooling over all spatial axes, and a linear classifier. The compact crop keeps the command useful as a runtime check while still exercising the same residual composition and pooling code used by larger configurations.
CLI subcommand name used in terminal banners and parser errors.
Instances For
Default JSON training-log path.
Instances For
Static minibatch size carried by the checked model shape.
Instances For
Height of the compact CIFAR crop.
Instances For
Width of the compact CIFAR crop.
Instances For
Complete residual-classifier architecture.
spatial := [8, 8] fixes the checked input grid. The stem and both residual stages use 3 x 3
same-padding convolutions. Each stage has an identity shortcut, so its branch preserves the grid
and channel width. The constructor derives the intermediate and output types from this geometry.
Instances For
One row of class logits per input sample, also derived from modelConfig.
Instances For
Residual classifier from the public model API.
Instances For
Train the residual classifier with the public classification trainer.