code: def preprocess_inputs_arg_string(inputs_str):
      """Parses input arg into dictionary that maps input to file/variable tuple.
  
      Parses input string in the format of, for example,
      "input1=filename1[variable_name1],input2=filename2" into a
      dictionary looks like
      {'input_key1': (filename1, variable_name1),
       'input_key2': (file2, None)}
      , which maps input keys to a tuple of file name and variable name(None if
      empty).
  
      Args:
        inputs_str: A string that specified where to load inputs. Inputs are
        separated by semicolons.
            * For each input key:
                '<input_key>=<filename>' or
                '<input_key>=<filename>[<variable_name>]'
            * The optional 'variable_name' key will be set to None if not specified.
  
      Returns:
        A dictionary that maps input keys to a tuple of file name and variable name.
  
      Raises:
        RuntimeError: An error when the given input string is in a bad format.
      """
      input_dict = {}
      inputs_raw = inputs_str.split(";")
      for input_raw in filter(bool, inputs_raw):  # skip empty strings
          # Format of input=filename[variable_name]'
          match = re.match(
              r"([^=]+)=([^\[\]]+)\[([^\[\]]+)\]$", input_raw
          )
  
          if match:
              input_dict[match.group(1)] = match.group(2), match.group(
                  3
              )
          else:
              # Format of input=filename'
              match = re.match(r"([^=]+)=([^\[\]]+)$", input_raw)
              if match:
                  input_dict[match.group(1)] = match.group(2), None
              else:
                  raise RuntimeError(
                      '--inputs "%s" format is incorrect. Please follow'
                      '"<input_key>=<filename>", or'
                      '"<input_key>=<filename>[<variable_name>]"'
                      % input_raw
                  )
  
      return input_dict
  
imports: import argparse
  import platform
  import ast
  import os
  import re
  from absl import app
  from absl import flags
  from absl.flags import argparse_flags
  import numpy
  from tensorflow.core.example import example_pb2
  from tensorflow.core.framework import types_pb2
  from tensorflow.core.protobuf import config_pb2
  from tensorflow.python.client import session
  from tensorflow.python.debug.wrappers import local_cli_wrapper
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import function
  from tensorflow.python.framework import meta_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.saved_model import load
  from tensorflow.python.saved_model import load_options
  from tensorflow.python.saved_model import loader
  from tensorflow.python.saved_model import save
  from tensorflow.python.saved_model import signature_constants
  from tensorflow.python.tools import saved_model_aot_compile
  from tensorflow.python.tools import saved_model_utils
  from tensorflow.python.tpu import tpu
  from tensorflow.python.util.compat import collections_abc
label_desc: Use image node_id 19 for calling a global function with example usage: preprocess_inputs_arg_string(inputs_str) and returns: input_dict