code: def test_init_numpy_shape(self):
      @def_function.function
      def fn():
          values = tensor_array_ops.TensorArray(
              np.float32,
              size=1,
              dynamic_size=False,
              element_shape=np.array((2, 3)),
          )
          values = values.write(0, np.ones((2, 3)))
          return values.concat()
  
      self.assertAllEqual(fn(), [[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]])
  
file_path: tensorflow/tensorflow/python/ops/tensor_array_ops_test.py
imports: import numpy
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 4 for calling the TensorArrayOpsTest obj's underlying member method code with example usage: obj.test_init_numpy_shape() and returns: values