lava-nc / lava

A Software Framework for Neuromorphic Computing
https://lava-nc.org
Other
529 stars 136 forks source link

DelayDense runs into error if max_delay is set to more than the actual delay value #766

Closed bamsumit closed 11 months ago

bamsumit commented 11 months ago

Describe the bug DelayDense runs into error if max_delay is set to more than the actual delay value

To reproduce current behavior Steps to reproduce the behavior:

  1. When I run this code (add code or minimum test case) ...
    synapse = DelayDense(
                weights=np.eye(5),
                delays=np.eye(5) * 10,
                max_delay=62,
            )
  2. Runs into runtime error due to mismatch between DA buffer and delayed synapse computation.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. Remove section otherwise.

Environment (please complete the following information):

Additional context Add any other context about the problem here. Remove section otherwise.