Skip to content

Commit

Permalink
Ensure weight scale is applied to these too
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Jul 17, 2024
1 parent e1fc098 commit 6ff9a1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spynnaker/pyNN/models/neuron/abstract_population_vertex.py
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,7 @@ def get_ring_buffer_shifts(self) -> List[int]:
max_weights = numpy.zeros(n_synapse_types)
if self.__max_expected_summed_weight is not None:
max_weights[:] = self.__max_expected_summed_weight
max_weights *= self.__neuron_impl.get_global_weight_scale()
else:
stats = _Stats(self.__neuron_impl, self.__spikes_per_second,
self.__ring_buffer_sigma)
Expand Down

0 comments on commit 6ff9a1e

Please sign in to comment.