code: def _get_tensor_info(tensors, default_name_prefix, normalize_func):
      """Get the list of tensor name and info."""
      tensor_names = []
      tensor_info_map = {}
      for idx, tensor in enumerate(tensors):
          if not tensor.name:
              tensor.name = default_name_prefix + str(idx)
          tensor_info = (
              tf.compat.v1.saved_model.utils.build_tensor_info(tensor)
          )
          tensor_name = normalize_func(tensor.name)
          tensor_info_map[tensor_name] = tensor_info
          tensor_names.append(tensor_name)
      return tensor_names, tensor_info_map
  
imports: import functools
  import io
  import itertools
  import operator
  import os
  import re
  import string
  import sys
  import tempfile
  import traceback
  import zipfile
  import numpy
  import tensorflow
  from google.protobuf import text_format
  from tensorflow.lite.testing import _pywrap_string_util
  from tensorflow.lite.testing import generate_examples_report
  from tensorflow.lite.tools import flatbuffer_utils
  from tensorflow.python.framework import convert_to_constants
  from tensorflow.python.saved_model import signature_constants
label_desc: Use image node_id 12 for calling a global function with example usage: _get_tensor_info(tensors, default_name_prefix, normalize_func) and returns: tensor_names,  tensor_info_map