code: def __init__(self, ch_in, ch_out, stride=1):
      super(BasicBlock, self).__init__()
      self.conv1 = ConvNormLayer(
          ch_in,
          ch_out,
          filter_size=3,
          stride=stride,
          bias_on=False,
          norm_decay=None,
      )
      self.conv2 = ConvNormLayer(
          ch_out,
          ch_out,
          filter_size=3,
          stride=1,
          bias_on=False,
          norm_decay=None,
      )
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register, serializable
  from ppdet.modeling.layers import ConvNormLayer
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 1 to create a new BasicBlock object from inherited base classes: nn with example: obj = BasicBlock(ch_in, ch_out, stride)