code: def __init__(self, inplanes, planes, downsample):
      super(BasicBlock, self).__init__()
      self.conv1 = nn.Conv2D(
          inplanes, planes, kernel_size=3, stride=1, padding=1
      )
      self.bn1 = nn.BatchNorm2D(planes, use_global_stats=True)
      self.relu = nn.ReLU()
      self.conv2 = nn.Conv2D(
          planes, planes, kernel_size=3, stride=1, padding=1
      )
      self.bn2 = nn.BatchNorm2D(planes, use_global_stats=True)
      self.downsample = downsample
  
imports: import copy
  import math
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 1 to create a new BasicBlock object from inherited base classes: nn with example: obj = BasicBlock(inplanes, planes, downsample)