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.
- abstractmethod get_parameters_sdram_usage_in_bytes() int[source]¶
- Returns:
The amount of SDRAM used by the parameters of this rule.
- abstract property vertex_executable_suffix: str¶
The suffix to be appended to the vertex executable for this rule.
- abstractmethod write_parameters(spec: DataSpecificationBase) None[source]¶
Write the parameters of the rule to the spec.
- Parameters:
spec
- class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.partner_selection.LastNeuronSelection(spike_buffer_size: int = 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]¶
- Returns:
The parameter names available from the component.
- get_parameters_sdram_usage_in_bytes() int[source]¶
- Returns:
The amount of SDRAM used by the parameters of this rule.
- property vertex_executable_suffix: str¶
The suffix to be appended to the vertex executable for this rule.
- write_parameters(spec: DataSpecificationBase) None[source]¶
Write the parameters of the rule to the spec.
- Parameters:
spec
- 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]¶
- Returns:
The parameter names available from the component.
- get_parameters_sdram_usage_in_bytes() int[source]¶
- Returns:
The amount of SDRAM used by the parameters of this rule.
- property vertex_executable_suffix: str¶
The suffix to be appended to the vertex executable for this rule.
- write_parameters(spec: DataSpecificationBase) None[source]¶
Write the parameters of the rule to the spec.
- Parameters:
spec