MCPcopy Create free account
hub / github.com/clab/dynet / setUp

Method setUp

tests/python/test.py:674–677  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

672class TestSparseLSTM(unittest.TestCase):
673
674 def setUp(self):
675 # create model
676 self.m = dy.ParameterCollection()
677 self.rnn = dy.SparseLSTMBuilder(2, 10, 10, self.m)
678
679 def test_get_parameters(self):
680 dy.renew_cg()

Callers

nothing calls this directly

Calls 2

ParameterCollectionMethod · 0.80
SparseLSTMBuilderMethod · 0.80

Tested by

no test coverage detected