DBNs and their implementation in TensorFlow