interface change of SimpleAutoEncoder