lava-nc / lava

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

LearningSparse simulation (floating_pt and fixed_pt) fails with certain learning rules #851

Open gkarray opened 2 months ago

gkarray commented 2 months ago

Describe the bug LearningSparse simulation (floating_pt and fixed_pt) fails with certain learning rules. My diagnostic is that scipy.csr_matrix cannot handle some of the operations executed by the LearningRuleAppliers.

To reproduce current behavior Steps to reproduce the behavior:

  1. When I run this code (add code or minimum test case) ...
    def my_code():
    pass
  2. I get this error ...
    Error...

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.