CHORE: Add tests for Leaky MetaOperator
1 unresolved thread
1 unresolved thread
Context
The goal of this PR is to add tests for the Leaky SNN Metaoperator.
As a metaoperator, it was dependent on the implementations of the operators it is made of. With the merge of Heaviside
in dev
, we can now add tests.
Modified files
-
unit_tests/operator/Test_MetaOperator.cpp
: add tests forLeaky
operator.
Detailed major modifications
Add two tests sections to Test_MetaOperator
:
- Leaky(forward)(fixed) : Test the leaky operator by comparing it to values previously computed using snntorch.
- Leaky(forward) : Test the leaky operator with random values (note that hyperparameters like beta are still fixed), comparing it to an ad-hoc implementation of the leaky operation.
Merge request reports
Activity
Filter activity
added Unit-test 🧪 label
@jeromeh Is it still a draft or is it ready to merge?
added 42 commits
-
2189f66d...71080feb - 30 commits from branch
eclipse/aidge:dev
- 71080feb...134704ed - 2 earlier commits
- 6bdcbbed - save changes - wip tests for leaky
- e16e9868 - [WIP] chore: Improve leaky tests
- 57b7de20 - chore: Improve Leaky Tests
- 5282cb87 - Reset node as output
- 4b89662a - chore: format files and reflect changes to Leaky constructor
- 8f01fb74 - Add a new test for a full nn using leaky neuron
- 623c55c6 - chore: Remove debug prints
- 948d024b - Format files
- 4ca093a2 - Rearrange includes
- b36e1bcd - randomize beta in leaky unit test
Toggle commit list-
2189f66d...71080feb - 30 commits from branch
enabled an automatic merge when all merge checks for b36e1bcd pass
mentioned in commit 62a468d3
assigned to @pineapple
changed milestone to %aidge v0.6.0
mentioned in commit 742b763f
Please register or sign in to reply