def autoencode(self, images, batch_size=None):
        """Creates op for autoencoding images.
        reconstruct method without GD
        """
        images.set_shape((batch_size, images.shape[1], images.shape[2], images.shape[3]))
        z_hat = self.encoder_fn(images, is_training=False)[0]
        recons = self.generator_fn(z_hat, is_training=False)
        return recons
Creates op for autoencoding images.
        reconstruct method without GD
        
examples/inverse_gan_author_utils.py