spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection package¶
Module contents¶
- class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection.AbstractPartnerSelection¶
Bases:
AbstractHasParameterNamesA partner selection rule.
- abstract get_parameters_sdram_usage_in_bytes() int[source]¶
Get the amount of SDRAM used by the parameters of this rule.
- Return type:
- abstract property vertex_executable_suffix: str¶
The suffix to be appended to the vertex executable for this rule.
- Return type:
- abstract write_parameters(spec: DataSpecificationBase)[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:
AbstractPartnerSelectionPartner 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() Iterable[str][source]¶
Get the parameter names available from the component.
- Return type:
iterable(str)
- get_parameters_sdram_usage_in_bytes() int[source]¶
Get the amount of SDRAM used by the parameters of this rule.
- Return type:
- property vertex_executable_suffix: str¶
The suffix to be appended to the vertex executable for this rule.
- Return type:
- write_parameters(spec: DataSpecificationBase)[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:
AbstractPartnerSelectionPartner selection that picks a random source neuron from all sources.
- get_parameter_names() Iterable[str][source]¶
Get the parameter names available from the component.
- Return type:
iterable(str)
- get_parameters_sdram_usage_in_bytes() int[source]¶
Get the amount of SDRAM used by the parameters of this rule.
- Return type:
- property vertex_executable_suffix: str¶
The suffix to be appended to the vertex executable for this rule.
- Return type:
- write_parameters(spec: DataSpecificationBase)[source]¶
Write the parameters of the rule to the spec.
- Parameters:
spec (DataSpecificationGenerator)