code: def _assert_sparse_tensor_equals(self, sp1, sp2):
      self.assertAllEqual(sp1.indices, sp2.indices)
      self.assertAllEqual(sp1.values, sp2.values)
      self.assertAllEqual(sp1.dense_shape, sp2.dense_shape)
  
imports: import numpy
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_sparse_ops
  from tensorflow.python.ops import sparse_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the BaseSparseCrossOpTest obj's underlying member method code with example usage: obj._assert_sparse_tensor_equals(sp1, sp2) without return types