code: def _fill_default_tensor_names(
      tensor_metadata_list: List[metadata_fb.TensorMetadataT],
      tensor_names_from_model: List[str],
  ):
      """Fills the default tensor names."""
      # If tensor name in metadata is empty, default to the tensor name saved in
      # the model.
      for tensor_metadata, name in zip(
          tensor_metadata_list, tensor_names_from_model
      ):
          tensor_metadata.name = tensor_metadata.name or name
  
imports: import collections
  import csv
  import dataclasses
  import os
  import tempfile
  from typing import List, Optional, Tuple, Union
  import flatbuffers
  from mediapipe.tasks.metadata import metadata_schema_py_generated
  from mediapipe.tasks.python.metadata import metadata
  from mediapipe.tasks.python.metadata.metadata_writers import metadata_info
  from mediapipe.tasks.python.metadata.metadata_writers import writer_utils
label_desc: Use image node_id 1 for calling a global function with example usage: _fill_default_tensor_names(tensor_metadata_list, tensor_names_from_model) without return types