spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection package

Module contents

class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection.AbstractPartnerSelection

Bases: object

A partner selection rule.

abstract get_parameter_names()[source]

Return the names of the parameters supported by this rule.

Return type:

iterable(str)

abstract get_parameters_sdram_usage_in_bytes()[source]

Get the amount of SDRAM used by the parameters of this rule.

Return type:

str

abstract property vertex_executable_suffix

The suffix to be appended to the vertex executable for this rule.

Return type:

str

abstract write_parameters(spec)[source]

Write the parameters of the rule to the spec.

Parameters:

spec (DataSpecificationGenerator) –

class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection.LastNeuronSelection(spike_buffer_size=64)

Bases: AbstractPartnerSelection

Partner selection that picks a random source neuron from the neurons that spiked in the last timestep.

Parameters:

spike_buffer_size – The size of the buffer for holding spikes

get_parameter_names()[source]

Return the names of the parameters supported by this rule.

Return type:

iterable(str)

get_parameters_sdram_usage_in_bytes()[source]

Get the amount of SDRAM used by the parameters of this rule.

Return type:

str

property vertex_executable_suffix

The suffix to be appended to the vertex executable for this rule.

Return type:

str

write_parameters(spec)[source]

Write the parameters of the rule to the spec.

Parameters:

spec (DataSpecificationGenerator) –

class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection.RandomSelection

Bases: AbstractPartnerSelection

Partner selection that picks a random source neuron from all sources.

get_parameter_names()[source]

Return the names of the parameters supported by this rule.

Return type:

iterable(str)

get_parameters_sdram_usage_in_bytes()[source]

Get the amount of SDRAM used by the parameters of this rule.

Return type:

str

property vertex_executable_suffix

The suffix to be appended to the vertex executable for this rule.

Return type:

str

write_parameters(spec)[source]

Write the parameters of the rule to the spec.

Parameters:

spec (DataSpecificationGenerator) –