26ab86b4ebaef283ddac2f8de5d27f87f68e81bb,spynnaker/pyNN/models/neural_projections/connectors/one_to_one_connector.py,OneToOneConnector,gen_connector_params,#OneToOneConnector#Any#Any#Any#Any#Any#Any#Any#Any#,171
Before Change
self, pre_slices, pre_slice_index, post_slices,
post_slice_index, pre_vertex_slice, post_vertex_slice,
synapse_type, synapse_info):
params = []
pre_view_lo = 0
pre_view_hi = synapse_info.n_pre_neurons - 1
if synapse_info.prepop_is_view:
pre_view_lo, pre_view_hi = self.get_view_lo_hi(
synapse_info.pre_population._indexes)
params.extend([pre_view_lo, pre_view_hi])
post_view_lo = 0
post_view_hi = synapse_info.n_post_neurons - 1
if synapse_info.postpop_is_view:
post_view_lo, post_view_hi = self.get_view_lo_hi(
synapse_info.post_population._indexes)
params.extend([post_view_lo, post_view_hi])
return numpy.array(params, dtype="uint32")
@property
@overrides(AbstractGenerateConnectorOnMachine.
After Change
self, pre_slices, pre_slice_index, post_slices,
post_slice_index, pre_vertex_slice, post_vertex_slice,
synapse_type, synapse_info):
params = self._basic_connector_params(synapse_info)
return numpy.array(params, dtype="uint32")
@property
@overrides(AbstractGenerateConnectorOnMachine.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 31
Instances
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 26ab86b4ebaef283ddac2f8de5d27f87f68e81bb
Time: 2020-02-11
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neural_projections/connectors/one_to_one_connector.py
Class Name: OneToOneConnector
Method Name: gen_connector_params
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 26ab86b4ebaef283ddac2f8de5d27f87f68e81bb
Time: 2020-02-11
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neural_projections/connectors/fixed_probability_connector.py
Class Name: FixedProbabilityConnector
Method Name: gen_connector_params
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 26ab86b4ebaef283ddac2f8de5d27f87f68e81bb
Time: 2020-02-11
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neural_projections/connectors/one_to_one_connector.py
Class Name: OneToOneConnector
Method Name: gen_connector_params
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 26ab86b4ebaef283ddac2f8de5d27f87f68e81bb
Time: 2020-02-11
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/neural_projections/connectors/all_to_all_connector.py
Class Name: AllToAllConnector
Method Name: gen_connector_params