code: def __init__(self, channels):
      super().__init__()
      self.avg_pool = AdaptiveAvgPool2D(1)
      self.conv = Conv2D(
          in_channels=channels,
          out_channels=channels,
          kernel_size=1,
          stride=1,
          padding=0,
      )
      self.sigmoid = nn.Sigmoid()
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle.nn.initializer import KaimingNormal, Constant
  from paddle.nn import Conv2D, BatchNorm2D, ReLU, AdaptiveAvgPool2D, MaxPool2D
  from paddle.regularizer import L2Decay
  from paddle import ParamAttr
label_desc: Use image node_id 1 to create a new ESEModule object from inherited base classes: nn with example: obj = ESEModule(channels)