On original and latent space connectivity in deep neural networks