Add a way to configure training
Extract part of the training out of rbm
Clean
Move I/O out of rbm
Clean
Cleanup
Prepare conv_rbm training
Prepare free_energy