latent space of images in a neural network