Deep Belief Nets in C++ and CUDA C: Volume 2