modify ml::deeplearning::autoencoder