Deep learning C++ source code (DBN)