code: def _assert_sparse_tensor_value(test_case_instance, expected, actual):
      test_case_instance.assertEqual(
          np.int64, np.array(actual.indices).dtype
      )
      test_case_instance.assertAllEqual(
          expected.indices, actual.indices
      )
  
      test_case_instance.assertEqual(
          np.array(expected.values).dtype, np.array(actual.values).dtype
      )
      test_case_instance.assertAllEqual(expected.values, actual.values)
  
      test_case_instance.assertEqual(
          np.int64, np.array(actual.dense_shape).dtype
      )
      test_case_instance.assertAllEqual(
          expected.dense_shape, actual.dense_shape
      )
  
file_path: probability/tensorflow_probability/python/math/sparse_test.py
imports: import numpy
  import tensorflow.compat.v1
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math import sparse
label_desc: Use image node_id 1 for calling a global function with example usage: _assert_sparse_tensor_value(test_case_instance, expected, actual) without return types