sPyNNaker icon indicating copy to clipboard operation
sPyNNaker copied to clipboard

Allow user-defined weight scale / left shift value in ring buffer

Open andrewgait opened this issue 8 years ago • 3 comments

In synaptic_manager.py, the code in _get_ring_buffer_to_input_left_shifts does a calculation to scale the ring buffer and currently attempts to balance accuracy against too much overflow. There is a user request to be able to bypass this calculation step and set a user-defined value which controls the scaling / left shift from a higher level - either from the model or even from the level of a PyNN script.

andrewgait avatar Nov 20 '17 13:11 andrewgait

I think it's related to my question/issue Some connectivity patterns end up eliminating STDP parameters due to scaling.

chanokin avatar Nov 20 '17 15:11 chanokin

Yes, this is directly related. Both solutions should help in different ways; this one is about control, the stochastic rounding will help on longer running simulations regardless of the minimum representable value.

rowleya avatar Nov 21 '17 07:11 rowleya

Noting here that this should probably be dealt with at some point, but it doesn’t need to happen now.

andrewgait avatar Jul 26 '19 17:07 andrewgait