An RBM layer with 512 neurons