class_docstr: Cumulative prod of array elements over a given axis.
class_docstr_tok: ["Cumulative","prod","of","array","elements","over","a","given","axis","."]
code: def forward(self, inputs):
      self.retain_inputs((0,))
      self.retain_outputs((0,))
      (x,) = inputs
      xp = backend.get_array_module(x)
      return (xp.cumprod(x, axis=self.axis),)
  
file_path: chainer/chainer/functions/math/cumprod.py
imports: import six
  import chainer
  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 Cumprod obj's underlying member method code with example usage: obj.forward(inputs) and returns: xp