neuralmonkey.tests.test_nn_utils module¶
-
class
neuralmonkey.tests.test_nn_utils.
TestDropout
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
test_invalid_keep_prob
()¶ Tests invalid dropout values
-
test_keep_prob
()¶ Counts dropped items and compare with the expectation
-
test_train_false
()¶ Checks that dropout is not used when not training
-