code: def __init__(
      self,
      in_channel=256,
      conv_num=4,
      norm_cfg=dict(type="BN"),
      act_cfg=dict(type="ReLU"),
      init_cfg=None,
  ):
      super().__init__(init_cfg=init_cfg)
  
      mask_convs = list()
      for i in range(conv_num):
          if i == 0:
              mask_conv = ConvModule(
                  in_channels=in_channel + 2,  # 2 for coord
                  out_channels=in_channel,
                  kernel_size=3,
                  padding=1,
                  norm_cfg=norm_cfg,
                  act_cfg=act_cfg,
              )
          else:
              mask_conv = ConvModule(
                  in_channels=in_channel,
                  out_channels=in_channel,
                  kernel_size=3,
                  padding=1,
                  norm_cfg=norm_cfg,
                  act_cfg=act_cfg,
              )
          mask_convs.append(mask_conv)
      self.mask_convs = nn.Sequential(*mask_convs)
  
file_path: mmocr/projects/ABCNet/abcnet/model/coordinate_head.py
imports: import torch
  import torch.nn
  from mmcv.cnn import ConvModule
  from mmengine.model import BaseModule
  from mmocr.registry import MODELS
label_desc: Use image node_id 1 to create a new CoordinateHead object from inherited base classes: BaseModule with example: obj = CoordinateHead(in_channel, conv_num, norm_cfg, act_cfg, init_cfg)