How To Implement Autoencoder In Python For All Selected Lines