neuralmonkey.tests package¶
Submodules¶
neuralmonkey.tests.test_bleu module¶
neuralmonkey.tests.test_config module¶
Tests the config parsing module.
-
class
neuralmonkey.tests.test_config.
TestParsing
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
test_splitter_bad_brackets
()¶
-
-
neuralmonkey.tests.test_config.
test_splitter_gen
(a, b)¶
neuralmonkey.tests.test_decoder module¶
Unit tests for the decoder. (Tests only initialization so far)
neuralmonkey.tests.test_encoders_init module¶
Test init methods of encoders.
-
class
neuralmonkey.tests.test_encoders_init.
TestEncodersInit
(methodName='runTest')¶ Bases:
unittest.case.TestCase
-
test_post_cnn_encoder
()¶
-
test_sentence_encoder
()¶
-
test_vector_encoder
()¶
-
-
neuralmonkey.tests.test_encoders_init.
get_all_combinations
(rest_arg_names, params)¶ Recursively get all combinations of arguments.
neuralmonkey.tests.test_eval_wrappers module¶
neuralmonkey.tests.test_functions module¶
Unit tests for functions.py.
neuralmonkey.tests.test_model_part module¶
Test ModelPart class.