-
Notifications
You must be signed in to change notification settings - Fork 150
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
Synaptic delays for Dense connections #624
Conversation
…he outputs, when it needs to be initialized to the size of the inputs
…lays to the connections.
…he DenseDelay process model.
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.
Thanks @PhilippPlank for taking care of this. It looks nice and clean. I have added some comments for your consideration.
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.
I left a single comment about potential performance improvement. Might even be not that critical if the overhead incurred there is not important.
Otherwise looks good! I'll approve to not block PR.
* Added Delay connection process and process model (floating point). * fixed bug in Delay() process. s_buff was initialized to the size of the outputs, when it needs to be initialized to the size of the inputs * updated docstring for delay process * added license information * reformatting to improve line lengths * updating formatting based on linting results * added unit tests for delay process * finished adding unittests and fixed linting errors * added __init__.py file to the test directory for the delay process * test_models.py import from tests.lava * Added DenseDelay Process class, which inherits from Dense and adds delays to the connections. * added PyDenseDelayModelFloat, the floating-point implementation for the DenseDelay process model. * small fixes * Added DelayDense process and process model * fix linting * deleted unused files * deleted unused files * modification from review suggestions * modifications from reviewer suggestions --------- Co-authored-by: kds300 <[email protected]> Co-authored-by: kds300 <[email protected]> Co-authored-by: Marcus G K Williams <[email protected]> Co-authored-by: bamsumit <[email protected]>
Issue Number: #237
Based on PR: #267
Objective of pull request: As a user, I want to be able to specify synaptic delays in the Dense Process to enable algorithmic work.
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?
Does this introduce a breaking change?
Supplemental information