code: def forward(self, x: paddle.Tensor) -> paddle.Tensor:
      pool = self.pool2d_gap(x)
      pool = paddle.reshape(pool, shape=[-1, self._num_channels])
      squeeze = self.squeeze(pool)
      squeeze = F.relu(squeeze)
      excitation = self.excitation(squeeze)
      excitation = F.sigmoid(excitation)
      excitation = paddle.reshape(
          excitation, shape=[-1, self._num_channels, 1, 1]
      )
      out = x * excitation
      return out
  
imports: import math
  from typing import List
  import paddle
  import paddle.nn
  import paddle.nn.functional
  import fcn_hrnetw48_cityscapes.layers
label_desc: Use image node_id 2 for calling the SELayer obj's underlying member method code with example usage: obj.forward(x) and returns: out