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.

Methods

__init__(timer)

Create a new plasticity rule with timing information.

generate_kernel()

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.