Understanding Autoencoders Encoding And Decoding