class_docstr: Cumulative sum of array elements over a given axis.
code: def forward(self, inputs):
      (x,) = inputs
      self._in_shape = x.shape
      xp = backend.get_array_module(x)
      return (xp.cumsum(x, axis=self.axis),)
  
file_path: chainer/chainer/functions/math/cumsum.py
imports: import six
  from chainer import backend
  from chainer import function_node
  from chainer.functions.array import flip
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling the Cumsum obj's underlying member method code with example usage: obj.forward(inputs) and returns: xp