dunedn.tests package
Submodules
dunedn.tests.test_config module
Test that the configuration is consistent.
dunedn.tests.test_networks module
Ensures DUNEdn networks objects run the forwrd pass without errors.
- dunedn.tests.test_networks.run_test(modeltype: str)[source]
Run the appropriate test for the supported model.
- Parameters
modeltype (str) – Available options uscg | cnn | gcnn.
- dunedn.tests.test_networks.run_test_cnn(setup: dict)[source]
Run CNN network test.
- Parameters
setup (dict) – Runcard settings.
- Raises
AssertionError – If model input and output shapes do not match.
- dunedn.tests.test_networks.run_test_gcnn(setup: dict)[source]
Run GCNN network test.
- Parameters
setup (dict) – Runcard settings.
- Raises
AssertionError – If model input and output shapes do not match.