1d variational autoencoder. It has three main parts: 1.