code: def testGradientExclusiveReverse(self):
      for axis in (-1, 0):
          self._compareGradient([8], axis, True, True)
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 15 for calling the CumprodTest obj's underlying member method code with example usage: obj.testGradientExclusiveReverse() without return types