code: def cumprod(x, axis, exclusive, reverse):
      return scan(np.cumprod, 1, x, axis, exclusive, reverse)
  
imports: from __future__ import division
  from six.moves import range
  import itertools
  import numpy
label_desc: Use image node_id 23 for calling a global function with example usage: cumprod(x, axis, exclusive, reverse) and returns: scan