code: def __init__(
      self, ch_in, ch_out, act="relu", shortcut=True, use_alpha=False
  ):
      super(BasicBlock, self).__init__()
      assert ch_in == ch_out
      self.conv1 = ConvBNLayer(
          ch_in, ch_out, 3, stride=1, padding=1, act=act
      )
      self.conv2 = RepVggBlock(ch_out, ch_out, act=act, alpha=use_alpha)
      self.shortcut = shortcut
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle import ParamAttr
  from paddle.regularizer import L2Decay
  from paddle.nn.initializer import Constant
  from ppdet.modeling.ops import get_act_fn
  from ppdet.core.workspace import register, serializable
  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, act, shortcut, use_alpha)