My python code for standard RBM and Convolutional RBM