code: def forward(self, inputs):
      outputs = self.avg_pool(inputs)
      outputs = self.conv1(outputs)
      outputs = F.relu(outputs)
      outputs = self.conv2(outputs)
      outputs = F.hardsigmoid(outputs, slope=0.2, offset=0.5)
      return paddle.multiply(x=inputs, y=outputs)
  
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 ppdet.core.workspace import register, serializable
  from numbers import Integral
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 2 for calling the SEModule obj's underlying member method code with example usage: obj.forward(inputs) and returns: paddle