def autoencoder_results(hidden_units):
 (training_data, test_inputs, actual_test_results) = mnist_loader.load_data_nn()
 net = train_autoencoder(hidden_units, training_data)
 plot_test_results(net, test_inputs)

def autoencoder_results ( hidden_units ) : ( training_data , test_inputs , actual_test_results ) = mnist_loader . load_data_nn ( ) net = train_autoencoder ( hidden_units , training_data ) plot_test_results ( net , test_inputs )
train an autoencoder using the mnist training data and plot the results when the first ten mnist test images are passed through the autoencoder .