code: def new_dynamic_array(shape, dtype, size):
      """Creates a new dynamic array."""
      return tf.TensorArray(dtype, size=size, element_shape=shape)
  
imports: import functools
  import numpy
  import six
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 24 for calling a global function with example usage: new_dynamic_array(shape, dtype, size) and returns: tf