pynn_brainscales.brainscales2.examples.plasticity_rule.PlasticityRule
-
class
pynn_brainscales.brainscales2.examples.plasticity_rule.PlasticityRule(timer: pynn_brainscales.brainscales2.plasticity_rules.Timer) Bases:
pynn_brainscales.brainscales2.plasticity_rules.PlasticityRule-
__init__(timer: pynn_brainscales.brainscales2.plasticity_rules.Timer) Create a new plasticity rule with timing information.
- Parameters
timer – Timer object.
same_id – Identifier of same plasticity rule. Plasticity rules with equal identifier share their state across realtime snippets. Currently, in addition, the complete provided kernel code is required to be equal.
Methods
__init__(timer)Create a new plasticity rule with timing information.
Generate plasticity rule kernel to be compiled into PPU program.
Attributes
-
generate_kernel() → str Generate plasticity rule kernel to be compiled into PPU program.
- Returns
PPU-code of plasticity-rule kernel as string.
-