code: def testIdentityShape(self):
      with self.cached_session():
          shape = [2, 3]
          array_2x3 = [[1, 2, 3], [6, 5, 4]]
          tensor = constant_op.constant(array_2x3)
          self.assertEqual(shape, tensor.get_shape())
          self.assertEqual(
              shape, array_ops.identity_n([tensor])[0].get_shape()
          )
          self.assertEqual(
              shape, array_ops.identity_n([array_2x3])[0].get_shape()
          )
  
file_path: tensorflow-upstream/tensorflow/python/kernel_tests/array_ops/identity_n_op_py_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.ops import array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the IdentityNOpTest obj's underlying member method code with example usage: obj.testIdentityShape() without return types