chickadee » nanograd-components » make-resnet-cifar

make-resnet-cifar stages widths num-classes #!key (in-channels 3) (dtype 'f32) (name ResNet-CIFAR)procedure

A ResNet for small images, such as the 32x32 images of CIFAR-10. It has a 3x3 stem and no max pooling, followed by one layer of basic blocks per entry of stages, with (list-ref widths i) channels. Every layer after the first starts with stride 2.