class_docstr: Mean of array elements over a given axis.
code: def forward(self, inputs):
      (x,) = inputs
      if self.axis is None:
          self.multiplier = 1.0 / x.size
      else:
          divider = 1
          for axis in self.axis:
              divider *= x.shape[axis]
          self.multiplier = 1.0 / divider
      ret = utils.force_array(
          x.mean(axis=self.axis, keepdims=self.keepdims)
      )
      return (ret,)
  
file_path: chainer/chainer/functions/math/average.py
imports: import six
  import chainer
  from chainer import function_node
  from chainer.functions.array import broadcast
  from chainer.functions.array import reshape
  from chainer.functions.math import sum
  from chainer import utils
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling the Mean obj's underlying member method code with example usage: obj.forward(inputs) and returns: ret