spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.elimination package¶
Module contents¶
- class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.elimination.AbstractElimination¶
Bases:
AbstractHasParameterNamesA synaptic connection elimination 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, weight_scale: float) None[source]¶
Write the parameters of the rule to the spec.
- Parameters:
spec
weight_scale
- class spynnaker.pyNN.models.neuron.structural_plasticity.synaptogenesis.elimination.RandomByWeightElimination(threshold: float, prob_elim_depressed: float = 0.0245, prob_elim_potentiated: float = 0.000136)¶
Bases:
AbstractEliminationElimination Rule that depends on the weight of a synapse.
- Parameters:
threshold – Below this weight is considered depression, above or equal to this weight is considered potentiation (or the static weight of the connection on static weight connections)
prob_elim_depressed – The probability of elimination if the weight has been depressed (ignored on static weight connections)
prob_elim_potentiated – The probability of elimination of the weight has been potentiated or has not changed (and also used on static weight connections)
- 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, weight_scale: float) None[source]¶
Write the parameters of the rule to the spec.
- Parameters:
spec
weight_scale