def test_gibbs_step_for_v(): # Just tests that gibbs_step_for_v can be called # without crashing model = RBM(nvis=2, nhid=3) theano_rng = make_theano_rng(17, which_method='binomial') X = T.matrix() Y = model.gibbs_step_for_v(X, theano_rng)
def test_gibbs_step_for_v(): #Just tests that gibbs_step_for_v can be called #without crashing (protection against refactoring #damage, aren't interpreted languages great?) model = RBM(nvis=2, nhid=3) theano_rng = RandomStreams(17) X = T.matrix() Y = model.gibbs_step_for_v(X, theano_rng)
def test_gibbs_step_for_v(): #Just tests that gibbs_step_for_v can be called #without crashing (protection against refactoring #damage, aren't interpreted languages great?) model = RBM(nvis = 2, nhid = 3) theano_rng = make_theano_rng(17, which_method='binomial') X = T.matrix() Y = model.gibbs_step_for_v(X, theano_rng)