enable_learning
enable_learning(projections=None, period=None, offset=None, net_id=0)Enables learning for all projections. Optionally period and offset can be changed for all projections.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| projections | list | the projections whose learning should be enabled. By default, all the existing projections are enabled. | None |
| period | list | determines how often the synaptic variables will be updated. | None |
| offset | float | determines the offset at which the synaptic variables will be updated relative to the current time. | None |