tf.contrib.gan.eval.eval_utils.image_reshaper
tf.contrib.gan.eval.image_reshaper
tf.contrib.gan.eval.image_reshaper( images, num_cols=None )
Defined in tensorflow/contrib/gan/python/eval/python/eval_utils_impl.py
.
A reshaped summary image.
Returns an image that will contain all elements in the list and will be laid out in a nearly-square tiling pattern (e.g. 11 images will lead to a 3x4 tiled image).
images
: Image data to summarize. Can be an RGB or grayscale image, a list of such images, or a set of RGB images concatenated along the depth dimension. The shape of each image is assumed to be [batch_size, height, width, depth].num_cols
: (Optional) If provided, this is the number of columns in the final output image grid. Otherwise, the number of columns is determined by the number of images.A summary image matching the input with automatic tiling if needed. Output shape is [1, height, width, channels].
© 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/image_reshaper