lava-nc / lava-dl

Deep Learning library for Lava
https://lava-nc.org
BSD 3-Clause "New" or "Revised" License
150 stars 70 forks source link

Fix weight_exp is None for netx DelaySynapse #316

Closed Michaeljurado42 closed 2 months ago

Michaeljurado42 commented 4 months ago

Issue Number: #315

Objective of pull request:

Fix weight_exp being None for delay Synapses in netx converted models.

Pull request checklist

Your PR fulfills the following requirements:

Pull request type

Please check your PR type:

What is the current behavior?

Weight_exp is always None (which is equivalent to it being zero)

What is the new behavior?

Weight exp is set to whatever optimize_weight_bits returns

Does this introduce a breaking change?

Supplemental information

Very small fix that does not affect unit tests