Arrange a minibatch of images into a grid to form a single image.
tf.contrib.gan.eval.image_grid( input_tensor, grid_shape, image_shape=(32, 32), num_channels=3 )
input_tensor: Tensor. Minibatch of images to format, either 4D ([batch size, height, width, num_channels]) or flattened ([batch size, height * width * num_channels]).
grid_shape: Sequence of int. The shape of the image grid, formatted as [grid_height, grid_width].
image_shape: Sequence of int. The shape of a single image, formatted as [image_height, image_width].
num_channels: int. The number of channels in an image.
Tensor representing a single image in which the input images have been arranged into a grid.
ValueError: The grid shape and minibatch size don't match, or the image shape and number of channels are incompatible with the input tensor.