コード例 #1
0
ファイル: test_rbm.py プロジェクト: bobchennan/pylearn2
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
ファイル: test_rbm.py プロジェクト: gdesjardins/pylearn2_bio
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
ファイル: test_rbm.py プロジェクト: JasonBens/pylearn
def test_get_weights():

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

    W = model.get_weights()