def infer(runner, input_tensors):
  """ Run loaded subgraphs.

  Args:
    runner: an instance of Runner.
    input_tensors: Input tensors. Format: {name: value}.

  Returns:
    Output tensors. Format: {name: value}.
  """
  return runner.infer(input_tensors)