code: def testConcat2(self):
      with self.session() as sess:
          # concat(A, B):
          # [    1          ]
          # [2       1      ]
          # [3   4 2     1 0]
          for sp_a in (
              self._SparseTensorValue_3x3(),
              self._SparseTensor_3x3(),
          ):
              for sp_b in (
                  self._SparseTensorValue_3x5(),
                  self._SparseTensor_3x5(),
              ):
                  for concat_dim in (-1, 1):
                      sp_concat = sparse_ops.sparse_concat(
                          concat_dim, [sp_a, sp_b]
                      )
  
                      self.assertEqual(
                          sp_concat.indices.get_shape(), [8, 2]
                      )
                      self.assertEqual(
                          sp_concat.values.get_shape(), [8]
                      )
                      self.assertEqual(
                          sp_concat.dense_shape.get_shape(), [2]
                      )
  
                      concat_out = self.evaluate(sp_concat)
  
                      self.assertAllEqual(
                          concat_out.indices,
                          [
                              [0, 2],
                              [1, 0],
                              [1, 4],
                              [2, 0],
                              [2, 2],
                              [2, 3],
                              [2, 6],
                              [2, 7],
                          ],
                      )
                      self.assertAllEqual(
                          concat_out.values, [1, 2, 1, 3, 4, 2, 1, 0]
                      )
                      self.assertAllEqual(
                          concat_out.dense_shape, [3, 8]
                      )
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  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 sparse_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 13 for calling the SparseConcatTest obj's underlying member method code with example usage: obj.testConcat2() without return types