code: def __init__(self, inplanes, planes, stride=1, downsample=None):
      super(BasicBlock, self).__init__()
      self.conv1 = conv3x3(inplanes, planes, stride)
      self.bn1 = nn.BatchNorm2d(planes, momentum=BN_MOMENTUM)
      self.relu = nn.ReLU(inplace=True)
      self.conv2 = conv3x3(planes, planes)
      self.bn2 = nn.BatchNorm2d(planes, momentum=BN_MOMENTUM)
      self.downsample = downsample
      self.stride = stride
  
imports: from __future__ import absolute_import, division, print_function
  import logging
  import torch.nn
  from detectron2.layers import ShapeSpec
  from detectron2.modeling.backbone import BACKBONE_REGISTRY
  from detectron2.modeling.backbone.backbone import Backbone
label_desc: Use image node_id 1 to create a new BasicBlock object from inherited base classes: nn with example: obj = BasicBlock(inplanes, planes, stride, downsample)