Ejemplo n.º 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()
Ejemplo n.º 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()
Ejemplo n.º 3
0
def test_get_weights():

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

    W = model.get_weights()