-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add netx support for rf.Dense and rf_iz.Dense #110
Conversation
…rf neurons. Found a bug inside lava main code that does not allow greater than one neuron sizes for rf neurons that will prevent this current code from working. Will file bug report soon
@bamsumit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good overall. Thanks Michael
Hi @Michaeljurado24 , it's fine. Complex convolution can be added when needed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh one thing.
Can you commit the gts/complex_dense
numpy files using git-lfs?
No problem. Before you accept this PR, I want to make sure you are aware that I combined the testing of rf and rf_iz layers in the TestRFBlocks class. I did this to prevent code testing code and data bloat. Also, in order for this code to work this really small issue needs to be resolved in the main lava codebase. |
@Michaeljurado24 got it. Don't worry about git lfs now then. I'll convert them once it is merged. Combining the tests is okay. They are already tested on the main lava repo. |
Use latest lava-nc for CI tests, which includes the rf processes.
@Michaeljurado24 If you are wondering why I changed the poetry.lock file -> It pointed to a specific revision of lava, which did not include your RF processes yet, which lead to CI fails. It would just be a "poetry update" on the command line to update the poetry.lock file, if you need it again :) CI should pass now. |
Looks good @Michaeljurado24 Thanks for the contribution. |
Okay, thanks for the information. Might be worth adding it to the developer guide. |
Issue Number:
Objective of pull request: Add netx support for rf.Dense and rf_iz.Dense
Pull request checklist
Your PR fulfills the following requirements:
flakeheaven lint src/lava tests/
) and (bandit -r src/lava/.
) pass locallypytest
) passes locallyPull request type
Please check your PR type:
What is the current behavior?
What is the new behavior?
-With this change we can export slayer trained rf models into lava.
Does this introduce a breaking change?
In order to make this change work this lava pr must be finished and accepted
Supplemental information
This issue is a result of an ongoing discussion in which I ask whether or not rf neurons will be added to lava.