def test_get_weights(): #Tests that the RBM, when constructed #with nvis and nhid arguments, supports the #weights interface model = RBM(nvis = 2, nhid = 3) W = model.get_weights()
def test_get_weights(): #Tests that the RBM, when constructed #with nvis and nhid arguments, supports the #weights interface model = RBM(nvis=2, nhid=3) W = model.get_weights()
def test_get_weights(): model = RBM(nvis = 2, nhid = 3) W = model.get_weights()