code: def __init__(self, feat_channels, act="swish"):
      super(ESEAttn, self).__init__()
      self.fc = nn.Conv2D(feat_channels, feat_channels, 1)
      self.conv = ConvBNLayer(feat_channels, feat_channels, 1, act=act)
  
      self._init_weights()
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  from ..losses import ProbIoULoss
  from ..initializer import bias_init_with_prob, constant_, normal_, vector_
  from ppdet.modeling.backbones.cspresnet import ConvBNLayer
  from ppdet.modeling.ops import get_static_shape, get_act_fn, anchor_generator
  from ppdet.modeling.layers import MultiClassNMS
label_desc: Use image node_id 1 to create a new ESEAttn object from inherited base classes: nn with example: obj = ESEAttn(feat_channels, act)