code: def _make_signature(inputs, outputs, name=None):
      input_info = {
          input_name: tf.compat.v1.saved_model.utils.build_tensor_info(
              tensor
          )
          for input_name, tensor in inputs.items()
      }
      output_info = {
          output_name: tf.compat.v1.saved_model.utils.build_tensor_info(
              tensor
          )
          for output_name, tensor in outputs.items()
      }
      return tf.compat.v1.saved_model.signature_def_utils.build_signature_def(
          input_info, output_info, name
      )
  
file_path: hub/tensorflow_hub/tensor_info_test.py
imports: import tensorflow
  from tensorflow_hub import tensor_info
label_desc: Use image node_id 1 for calling a global function with example usage: _make_signature(inputs, outputs, name) and returns: tf