code: def setup_bare_concrete_function(
      saved_bare_concrete_function, concrete_functions
  ):
      """Makes a restored bare concrete function callable."""
      concrete_function = concrete_functions[
          saved_bare_concrete_function.concrete_function_name
      ]
      # pylint: disable=protected-access
      concrete_function._arg_keywords = (
          saved_bare_concrete_function.argument_keywords
      )
      concrete_function._num_positional_args = (
          saved_bare_concrete_function.allowed_positional_arguments
      )
      if saved_bare_concrete_function.HasField("function_spec"):
          function_spec = _deserialize_function_spec_as_nonmethod(
              saved_bare_concrete_function.function_spec
          )
          set_preinitialized_function_spec(
              concrete_function, function_spec
          )
      # pylint: enable=protected-access
      concrete_function.add_to_graph()
      return concrete_function
  
imports: import collections
  import pprint
  import re
  from absl import logging
  from tensorflow.core.function import trace_type
  from tensorflow.core.function.polymorphism import function_type
  from tensorflow.core.protobuf import saved_object_graph_pb2
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import function
  from tensorflow.python.eager.polymorphic_function import function_type_utils
  from tensorflow.python.framework import func_graph
  from tensorflow.python.framework import function_def_to_graph
  from tensorflow.python.framework import op_def_registry
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import type_spec
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import custom_gradient
  from tensorflow.python.ops import default_gradient
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.saved_model import nested_structure_coder
  from tensorflow.python.util import compat
  from tensorflow.python.util import nest
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 7 for calling a global function with example usage: setup_bare_concrete_function(saved_bare_concrete_function, concrete_functions) and returns: concrete_function