class_docstr: Test class that extends tf.test.TestCase with extra functionality.
code: def assertSparseTensorValueEqual(
      self,
      expected_sparse_tensor_value: Union[
          types.SparseTensorValue, tf.compat.v1.SparseTensorValue
      ],
      got_sparse_tensor_value: Union[
          types.SparseTensorValue, tf.compat.v1.SparseTensorValue
      ],
  ) -> None:
      self.assertAllEqual(
          expected_sparse_tensor_value.indices,
          got_sparse_tensor_value.indices,
      )
      self.assertAllEqual(
          expected_sparse_tensor_value.values,
          got_sparse_tensor_value.values,
      )
      self.assertAllEqual(
          expected_sparse_tensor_value.dense_shape,
          got_sparse_tensor_value.dense_shape,
      )
      # Check dtypes too
      self.assertEqual(
          expected_sparse_tensor_value.indices.dtype,
          got_sparse_tensor_value.indices.dtype,
      )
      self.assertEqual(
          expected_sparse_tensor_value.values.dtype,
          got_sparse_tensor_value.values.dtype,
      )
      self.assertEqual(
          expected_sparse_tensor_value.dense_shape.dtype,
          got_sparse_tensor_value.dense_shape.dtype,
      )
  
imports: import math
  import tempfile
  from typing import Dict, Iterable, List, Optional, Sequence, Tuple, Union
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.eval_saved_model import constants
  from tensorflow_model_analysis.eval_saved_model import load
  from tensorflow_model_analysis.eval_saved_model import util
  from tensorflow_model_analysis.utils import model_util
label_desc: Use image node_id 10 for calling the TensorflowModelAnalysisTest obj's underlying member method code with example usage: obj.assertSparseTensorValueEqual(expected_sparse_tensor_value, got_sparse_tensor_value) without return types