Ticket #199 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

AllToAllConnector does not process list of weights

Reported by: tpfeil Owned by:
Priority: major Milestone: 0.8.0
Component: all Version: trunk
Keywords: Cc:

Description

See file attached. The documentation says:

weights -- may either be a float, a RandomDistribution? object, a list/

1D array with at least as many items as connections to be created. Units nA.

This seems not to be true?! Failes with nest 2.1 and neuron 7.0.

Attachments

pynn_bug_alltoallconnector.py Download (1.4 KB) - added by tpfeil 7 months ago.

Change History

Changed 7 months ago by tpfeil

Changed 7 months ago by tpfeil

I used pyNN 7.2. under Ubuntu 10.04 standard installation.

Changed 6 months ago by pierre

  • status changed from new to closed
  • resolution set to fixed

I had a look to this issue, and this is now fixed. The problem was that in fact, weights should be given in the form of a matrix of size n_pre lines and n_post columns. So in your code, initWeightsReference.reshape((len(initWeightsReference), 1)) will have worked. But since the documentation was confusing and saying that 1D vectors should work, I changed pyNN such that it now gives the defaut expected behaviour for script. See r1024

Note: See TracTickets for help on using tickets.