code: def test_segment_cumsum_no_segment_exclusive(self):
      x = tf.constant([-11, 13, 17, 19, 23])
      cx = self.evaluate(
          segment_ops.segment_cumsum(
              x, segment_ids=None, exclusive=True
          )
      )
      np.testing.assert_array_equal(cx, [0, -11, 2, 19, 38])
  
file_path: tf-quant-finance/tf_quant_finance/math/segment_ops_test.py
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import test_util
  from tf_quant_finance.math import segment_ops
label_desc: Use image node_id 7 for calling the SegmentOpsTest obj's underlying member method code with example usage: obj.test_segment_cumsum_no_segment_exclusive() without return types