def apply_multi_output_operation(operation_def_cls, *args, **kwargs):
  """Like `apply_operation` but returns a tuple of outputs."""
  try:
    return OperationNode(operation_def_cls(**kwargs), args).outputs
  except TypeError as e:
    raise RuntimeError('Failed to apply Operation {}, with error: {}'.format(
        operation_def_cls, str(e)))
Like `apply_operation` but returns a tuple of outputs.
tensorflow_transform/nodes.py