Skip to content

Fix multi-node recurrent import (e.g. NIR paper SRNN network)#48

Merged
fabio-innatera merged 2 commits into
mainfrom
fix-recurrent-import
Sep 22, 2025
Merged

Fix multi-node recurrent import (e.g. NIR paper SRNN network)#48
fabio-innatera merged 2 commits into
mainfrom
fix-recurrent-import

Conversation

@fabio-innatera

Copy link
Copy Markdown
Collaborator

This is a fix for the issue described here: norse/norse#427

I am not 100% convinced that this has no impact on any other network, but NIRTorch and Norse test suite are all passing.

I think we should have a test for this, but I don't have time right now to work on this further.

…e inputs

module_name is santized on line 381, but the call to _find_recursive_inputs
used the original edge names from the graph

@Jegp Jegp left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far. If the tests are passing, we should assume it's functional. If not, we should add the unit test! :-)

Would you like to do the honor of merging @fabio-innatera ?

@fabio-innatera fabio-innatera merged commit 60cd9f3 into main Sep 22, 2025
15 checks passed
@fabio-innatera fabio-innatera deleted the fix-recurrent-import branch September 22, 2025 09:18
@fabio-innatera

Copy link
Copy Markdown
Collaborator Author

Thanks for the review!

The fix works with NIRTorch, Norse, snnTorch and Talamo, so I am optimistic that it's correct :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants