single layer rbm for cf