aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/gan
diff options
context:
space:
mode:
authorGravatar Shanqing Cai <cais@google.com>2018-03-12 19:33:52 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-12 19:37:39 -0700
commit7144571f2fc59c8705e4e3d7b922fa0ebf44f3fa (patch)
treeb14683f826541c183c1bb783265e13b565469fbb /tensorflow/contrib/gan
parent2bda52d485c9715dcd17f49526cea7890e091cb8 (diff)
Merge changes from github.
PiperOrigin-RevId: 188817194
Diffstat (limited to 'tensorflow/contrib/gan')
-rw-r--r--tensorflow/contrib/gan/python/eval/python/summaries_test.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/tensorflow/contrib/gan/python/eval/python/summaries_test.py b/tensorflow/contrib/gan/python/eval/python/summaries_test.py
index 5549df971d..45eb108586 100644
--- a/tensorflow/contrib/gan/python/eval/python/summaries_test.py
+++ b/tensorflow/contrib/gan/python/eval/python/summaries_test.py
@@ -71,10 +71,11 @@ def get_cyclegan_model():
class SummariesTest(test.TestCase):
- def _test_add_gan_model_image_summaries_impl(
- self, get_model_fn, expected_num_summary_ops, model_summaries):
- summaries.add_gan_model_image_summaries(
- get_model_fn(), grid_size=2, model_summaries=model_summaries)
+ def _test_add_gan_model_image_summaries_impl(self, get_model_fn,
+ expected_num_summary_ops,
+ model_summaries):
+ summaries.add_gan_model_image_summaries(get_model_fn(), grid_size=2,
+ model_summaries=model_summaries)
self.assertEquals(expected_num_summary_ops,
len(ops.get_collection(ops.GraphKeys.SUMMARIES)))