code: def testConcat(self):
      self._testNAry(
          lambda x: array_ops.concat(x, 0),
          [
              np.array([[1, 2, 3], [4, 5, 6]], dtype=np.float32),
              np.array([[7, 8, 9], [10, 11, 12]], dtype=np.float32),
          ],
          expected=np.array(
              [[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12]],
              dtype=np.float32,
          ),
      )
  
      self._testNAry(
          lambda x: array_ops.concat(x, 1),
          [
              np.array([[1, 2, 3], [4, 5, 6]], dtype=np.float32),
              np.array([[7, 8, 9], [10, 11, 12]], dtype=np.float32),
          ],
          expected=np.array(
              [[1, 2, 3, 7, 8, 9], [4, 5, 6, 10, 11, 12]],
              dtype=np.float32,
          ),
      )
  
imports: import unittest
  import numpy
  from tensorflow.compiler.tests import xla_test
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import googletest
label_desc: Use image node_id 7 for calling the NAryOpsTest obj's underlying member method code with example usage: obj.testConcat() without return types