code: def __init__(
      self, inplanes, planes, stride=1, downsample=None, no_relu=False
  ):
      super().__init__()
      self.conv_bn_relu = layers.ConvBNReLU(
          inplanes,
          planes,
          kernel_size=3,
          stride=stride,
          padding=1,
          bias_attr=False,
      )
      self.relu = nn.ReLU()
      self.conv_bn = layers.ConvBN(
          planes,
          planes,
          kernel_size=3,
          stride=1,
          padding=1,
          bias_attr=False,
      )
      self.downsample = downsample
      self.stride = stride
      self.no_relu = no_relu
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager, param_init
  from paddleseg.models import layers
  from paddleseg.utils import utils
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, no_relu)