class_docstr: Effective Squeeze-Excitation
  From `CenterMask : Real-Time Anchor-Free Instance Segmentation` - https://arxiv.org/abs/1911.06667
class_docstr_tok: ["Effective","Squeeze-Excitation","From","`","CenterMask",":","Real-Time","Anchor-Free","Instance","Segmentation","`","-","https",":","\/\/arxiv.org\/abs\/1911.06667"]
code: def forward(self, x):
      x_se = x.mean((2, 3), keepdim=True)
      x_se = self.fc(x_se)
      return x * self.act(x_se)
  
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 paddle.nn.initializer import Constant
  from ppdet.modeling.ops import get_act_fn
  from ppdet.core.workspace import register, serializable
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 2 for calling the EffectiveSELayer obj's underlying member method code with example usage: obj.forward(x) and returns: unknown