single layer RBM