code: def forward(self, feat, avg_feat):
      weight = F.sigmoid(self.fc(avg_feat))
      return self.conv(feat * weight)
  
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 3 for calling the ESEAttn obj's underlying member method code with example usage: obj.forward(feat, avg_feat) and returns: self