Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Sigma delta neuron, encoding and decoding support#180

Merged
bamsumit merged 11 commits into
lava-nc:mainfrom
bamsumit:sigma_delta
Feb 24, 2022
Merged

Sigma delta neuron, encoding and decoding support#180
bamsumit merged 11 commits into
lava-nc:mainfrom
bamsumit:sigma_delta

Conversation

@bamsumit

Copy link
Copy Markdown
Contributor

Issue Number:

Objective of pull request:

Pull request checklist

Your PR fulfills the following requirements:

  • Issue created that explains the change and why it's needed
  • Tests are part of the PR (for bug fixes / features)
  • Docs reviewed and added / updated if needed (for bug fixes / features)
  • PR conforms to Coding Conventions
  • PR applys BSD 3-clause or LGPL2.1+ Licenses to all code files
  • Lint (pyb) passes locally
  • Build tests (pyb -E unit) or (python -m unittest) passes locally

Pull request type

Please check your PR type:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation changes
  • Other (please describe):

What is the current behavior?

  • There is no support for sigma delta neuron.

What is the new behavior?

  • Sigma Delta neuron with Unit and ReLU activation is supported for both floating and fixed point.

Does this introduce a breaking change?

  • Yes
  • No

Supplemental information

Signed-off-by: bamsumit <bam_sumit@hotmail.com>
Signed-off-by: bamsumit <bam_sumit@hotmail.com>
Signed-off-by: bamsumit <bam_sumit@hotmail.com>
Signed-off-by: bamsumit <bam_sumit@hotmail.com>
@bamsumit bamsumit self-assigned this Feb 15, 2022
@bamsumit bamsumit added the 1-feature New feature request label Feb 15, 2022
@bamsumit bamsumit linked an issue Feb 15, 2022 that may be closed by this pull request
6 tasks
@bamsumit bamsumit added the 0-needs-review For all new issues label Feb 15, 2022
Comment thread src/lava/proc/sdn/process.py Outdated
Comment thread tests/lava/proc/sdn/test_models.py Outdated
Comment thread tests/lava/proc/sdn/test_models.py Outdated
@bamsumit bamsumit requested a review from srrisbud February 16, 2022 04:38
@mgkwill mgkwill self-requested a review February 23, 2022 17:35
@bamsumit bamsumit requested a review from tim-shea February 23, 2022 18:21

@mgkwill mgkwill left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks pretty good to me.

There are a few optimizations available to you. See comments.

Comment thread src/lava/proc/sdn/models.py Outdated
Comment thread src/lava/proc/sdn/models.py
Comment thread src/lava/proc/sdn/models.py
Comment thread src/lava/proc/sdn/models.py Outdated
Comment thread src/lava/proc/sdn/models.py
Comment thread src/lava/proc/sdn/models.py
Signed-off-by: bamsumit <bam_sumit@hotmail.com>
Comment thread src/lava/proc/sdn/models.py
Comment thread src/lava/proc/sdn/process.py
Comment thread src/lava/proc/sdn/process.py
Signed-off-by: bamsumit <bam_sumit@hotmail.com>
@bamsumit bamsumit merged commit 72f31d4 into lava-nc:main Feb 24, 2022
@bamsumit bamsumit deleted the sigma_delta branch February 24, 2022 18:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

0-needs-review For all new issues 1-feature New feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sigma Delta Neuron support

4 participants