Commits on Source (7)
-
Maxence Naud authored7d027649
-
9b5c0de7
-
Maxence Naud authored
Merge branch 'chore_setOutput-should-be-const' of gitlab.eclipse.org:eclipse/aidge/aidge_core into chore_setOutput-should-be-const
49b34574 -
Maxence Naud authored88558904
-
Maxence Naud authored
Update 'Operator::setOutput()' and overrides to be const See merge request !164
aa12de58 -
Use the getSeed() method provided by Catch to initialize the random number generator instead of using the default random device. This allows to make the tests deterministic when --rng-seed <seed> option is passed. Also this allows to report a test failure by specifying the seed as reported in the test output, which can then be reproduced with --rng-seed <reported_seed>.
0a473686 -
Cyril Moineau authored
[UnitTest] Make unit tests deterministic with fixed seed See merge request !166
7ee5febe
Showing
- include/aidge/operator/Operator.hpp 1 addition, 1 deletioninclude/aidge/operator/Operator.hpp
- include/aidge/operator/OperatorTensor.hpp 1 addition, 1 deletioninclude/aidge/operator/OperatorTensor.hpp
- include/aidge/operator/Producer.hpp 1 addition, 1 deletioninclude/aidge/operator/Producer.hpp
- python_binding/operator/pybind_Operator.cpp 1 addition, 1 deletionpython_binding/operator/pybind_Operator.cpp
- python_binding/operator/pybind_OperatorTensor.cpp 1 addition, 1 deletionpython_binding/operator/pybind_OperatorTensor.cpp
- src/operator/OperatorTensor.cpp 1 addition, 1 deletionsrc/operator/OperatorTensor.cpp
- unit_tests/data/Test_Tensor.cpp 5 additions, 4 deletionsunit_tests/data/Test_Tensor.cpp
- unit_tests/graph/Test_GraphView.cpp 4 additions, 3 deletionsunit_tests/graph/Test_GraphView.cpp
- unit_tests/operator/Test_Div_Op.cpp 3 additions, 2 deletionsunit_tests/operator/Test_Div_Op.cpp
- unit_tests/operator/Test_GlobalAveragePooling_Op.cpp 3 additions, 2 deletionsunit_tests/operator/Test_GlobalAveragePooling_Op.cpp
- unit_tests/operator/Test_MatMul_Op.cpp 4 additions, 2 deletionsunit_tests/operator/Test_MatMul_Op.cpp
- unit_tests/operator/Test_Mul_Op.cpp 3 additions, 2 deletionsunit_tests/operator/Test_Mul_Op.cpp
- unit_tests/operator/Test_Pow_Op.cpp 3 additions, 2 deletionsunit_tests/operator/Test_Pow_Op.cpp
- unit_tests/operator/Test_Sub_Op.cpp 3 additions, 2 deletionsunit_tests/operator/Test_Sub_Op.cpp
- unit_tests/scheduler/Test_Scheduler.cpp 2 additions, 1 deletionunit_tests/scheduler/Test_Scheduler.cpp