code: def _computeLogSumExp(self, x, **kwargs):
      result_naive = math_ops.cumsum(math_ops.exp(x), **kwargs)
      result_fused = math_ops.exp(
          math_ops.cumulative_logsumexp(x, **kwargs)
      )
      return result_naive, result_fused
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/math_ops/cumulative_logsumexp_test.py
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gradient_checker_v2
  from tensorflow.python.ops import map_fn
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 1 for calling the CumulativeLogsumexpTest obj's underlying member method code with example usage: obj._computeLogSumExp(x) and returns: result_naive,  result_fused