code: def forward(self, x):
      x = x.mean(axis=self.axis, keepdim=False)
      return x
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 2 for calling the Reduce obj's underlying member method code with example usage: obj.forward(x) and returns: x