RESNET32#

Classes#

class backbone.ResNet32.BasicBlock(inplanes, planes, stride=1, downsample=None, last=False)[source]#

Bases: Module

expansion = 1#
forward(x)[source]#
class backbone.ResNet32.IdentityShortcut(planes)[source]#

Bases: Module

forward(x)[source]#
class backbone.ResNet32.ResNet32(depth=32, num_classes=1000)[source]#

Bases: MammothBackbone

forward(x, returnt='out')[source]#

Functions#

backbone.ResNet32.conv3x3(in_planes, out_planes, stride=1)[source]#

3x3 convolution with padding

backbone.ResNet32.resnet32(num_classes, depth=32)[source]#

Constructs a ResNet-32 model, as used in ‘iCaRL’.