Support a better interface for the single option case in combinations.py.
authorIgor Saprykin <isaprykin@google.com>
Mon, 21 May 2018 23:26:11 +0000 (16:26 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Mon, 21 May 2018 23:29:14 +0000 (16:29 -0700)
commit148790aaf7bf3607e5d6e6d10bce2666535c4a07
treecae0d9bf1366b8952b6264aaab5b2d0c77d24c45
parent4d03411da6fcc803d9abcef97a59072144e325f9
Support a better interface for the single option case in combinations.py.

If there's only one combination for combination-based tests, it doesn't have to
be a list.

PiperOrigin-RevId: 197479773
tensorflow/contrib/distribute/python/combinations.py
tensorflow/contrib/distribute/python/combinations_test.py