code: def tensor_list_reserve(
      element_shape, num_elements, element_dtype, name=None
  ):
      result = gen_list_ops.tensor_list_reserve(
          element_shape=_build_element_shape(element_shape),
          num_elements=num_elements,
          element_dtype=element_dtype,
          name=name,
      )
      # TODO(b/169968286): gen_ops needs to ensure the metadata is properly
      # populated for eager operations.
      _set_handle_data(result, element_shape, element_dtype)
      return result
  
imports: import numpy
  from tensorflow.core.framework import full_type_pb2
  from tensorflow.python.framework import cpp_shape_inference_pb2
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_list_ops
  from tensorflow.python.ops import handle_data_util
  from tensorflow.python.ops.gen_list_ops import *
label_desc: Use image node_id 3 for calling a global function with example usage: tensor_list_reserve(element_shape, num_elements, element_dtype, name) and returns: result