W3cubDocs

/TensorFlow Python

tf.contrib.gan.eval.add_gan_model_image_summaries

Aliases:

  • tf.contrib.gan.eval.add_gan_model_image_summaries
  • tf.contrib.gan.eval.summaries.add_gan_model_image_summaries
tf.contrib.gan.eval.add_gan_model_image_summaries(
    gan_model,
    grid_size=4,
    model_summaries=True
)

Defined in tensorflow/contrib/gan/python/eval/python/summaries_impl.py.

Adds image summaries for real and fake images.

Args:

  • gan_model: A GANModel tuple.
  • grid_size: The size of an image grid.
  • model_summaries: Also add summaries of the model.

Raises:

  • ValueError: If real and generated data aren't images.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/gan/eval/add_gan_model_image_summaries