code: def __init__(self, num_classes=1000):
      super(ResNeXt101_32x4d, self).__init__()
      self.num_classes = num_classes
  
      resnext = resnext101_32x4d_features()
  
      self.stem = resnext.resnext101_32x4d_stem
      self.layer1 = resnext.resnext101_32x4d_layer1
      self.layer2 = resnext.resnext101_32x4d_layer2
      self.layer3 = resnext.resnext101_32x4d_layer3
      self.layer4 = resnext.resnext101_32x4d_layer4
  
      self.avg_pool = nn.AvgPool2d((7, 7), (1, 1))
      self.last_linear = nn.Linear(2048, num_classes)
  
file_path: pywick/pywick/models/segmentation/mnas_linknets/resnext.py
imports: import torch.nn
  import torch.utils.model_zoo
  from .resnext101_32x4d_features import resnext101_32x4d_features, resnext101_32x4d_features_blob
label_desc: Use image node_id 1 to create a new ResNeXt101_32x4d object from inherited base classes: nn with example: obj = ResNeXt101_32x4d(num_classes)