RBM and their implementation in TensorFlow