Skip to content
Snippets Groups Projects

CHORE: Add tests for Leaky MetaOperator

Merged Jerome Hue requested to merge jeromeh/aidge_backend_cpu:leaky-operator-tests into dev
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 for Leaky 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

Test summary results are being parsed

Merged by Olivier BICHLEROlivier BICHLER 3 months ago (Feb 5, 2025 1:58pm UTC)

Loading

Pipeline #64713 passed

Pipeline passed for 62a468d3 on dev

Test coverage 83.20% from 0 jobs

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading