def cross_parameters(*args):
  """Cross a sequence of sequences of parameters suitable for @parameters."""
  for p in itertools.product(*args):
    yield functools.reduce(lambda x, y: x + y, p)
Cross a sequence of sequences of parameters suitable for @parameters.
tensorflow_transform/test_case.py