def METHOD_NAME(signature_def):
  """Get inputs and outputs from SignatureDef.
  Args:
    signature_def: SignatureDef in the meta_graph_def for conversion.
  Returns:
    The inputs and outputs in the graph for conversion.
  """
  inputs_tensor_info = signature_def.inputs
  outputs_tensor_info = signature_def.outputs
  logging.info("input tensors info: ")
  _log_tensor_details(inputs_tensor_info)
  logging.info("output tensors info: ")
  _log_tensor_details(outputs_tensor_info)
  def gather_names(tensor_info):
    return [tensor_info[key].name for key in tensor_info]
  inputs = gather_names(inputs_tensor_info)
  outputs = gather_names(outputs_tensor_info)
  return inputs, outputs