Autoencoder, Capsule Networks, Attention Mechanism, Deep Learning, Artificial Intelligence.
(train_x, train_y), (test_x, test_y) = mnist.load_data() train_x = train_x.reshape(-1, 28, 28, 1).astype('float32') / 255.0 test_x = test_x.reshape(-1, 28, 28, 1).astype('float32') / 255.0 train_y = to_categorical(train_y.astype('float32')) test_y = to_categorical(test_y.astype('float32'))