code: def test_reduce_sum(self):
      computed_list = list()
      ground_list = list()
      for axis in [None, 0, 1]:
          for kd in [True, False]:
              ground_list.append(self._A.sum(axis=axis, keepdims=kd))
              computed_list.append(
                  tf_i128.from_i128(
                      tf_i128.reduce_sum(
                          self.A, axis=axis, keepdims=kd
                      ),
                      self.scale,
                  )
              )
  
      for c, g in zip(computed_list, ground_list):
          np.testing.assert_allclose(c, g, rtol=0.0, atol=0.01)
          self.assertTrue(c.shape == g.shape, "wrong reduce_sum shape")
  
imports: import unittest
  import numpy
  import tensorflow
  from tf_encrypted.operations import tf_i128
label_desc: Use image node_id 6 for calling the I128TestCase obj's underlying member method code with example usage: obj.test_reduce_sum() without return types