예제 #1
0
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()
예제 #2
0
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()
예제 #3
0
def test_get_weights():

    model = RBM(nvis = 2, nhid = 3)

    W = model.get_weights()