dc946f7b131cd2a79332f00e09fffedc8df56d9b,unittests/connector_tests/test_csa_connector.py,,test_csa_random_connector,#,61
Before Change
def test_csa_random_connector():
MockSimulator.setup()
connector = CSAConnector(csa.random(0.05))
connector.set_projection_information(
MockPopulation(10, "pre"), MockPopulation(10, "post"),
False, False, MockRNG(), 1000.0)
pre_vertex_slice = Slice(0, 10)
post_vertex_slice = Slice(0, 10)
block = connector.create_synaptic_block(
1.0, 2.0, [pre_vertex_slice], 0, [post_vertex_slice], 0,
After Change
def test_csa_random_connector():
MockSimulator.setup()
connector = CSAConnector(csa.random(0.05))
mock_synapse_info = MockSynapseInfo(MockPopulation(10, "pre"),
MockPopulation(10, "post"))
connector.set_projection_information(
MockRNG(), 1000.0, mock_synapse_info)
pre_vertex_slice = Slice(0, 10)
post_vertex_slice = Slice(0, 10)
block = connector.create_synaptic_block(
1.0, 2.0, [pre_vertex_slice], 0, [post_vertex_slice], 0,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 8
Instances
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: dc946f7b131cd2a79332f00e09fffedc8df56d9b
Time: 2019-10-28
Author: andrewgait@imac.home
File Name: unittests/connector_tests/test_csa_connector.py
Class Name:
Method Name: test_csa_random_connector
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: dc946f7b131cd2a79332f00e09fffedc8df56d9b
Time: 2019-10-28
Author: andrewgait@imac.home
File Name: unittests/connector_tests/test_csa_connector.py
Class Name:
Method Name: test_csa_one_to_one_connector
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: dc946f7b131cd2a79332f00e09fffedc8df56d9b
Time: 2019-10-28
Author: andrewgait@imac.home
File Name: unittests/connector_tests/test_csa_connector.py
Class Name:
Method Name: test_csa_from_list_connector
Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: dc946f7b131cd2a79332f00e09fffedc8df56d9b
Time: 2019-10-28
Author: andrewgait@imac.home
File Name: unittests/connector_tests/test_csa_connector.py
Class Name:
Method Name: test_csa_block_connector