Skip to main content
E0107: invalid LIF reset mode

What happened

A LIF layer in the model has a reset value that is not one of the two valid modes: "subtract" or "zero".

Why

The canonical vocabulary (Playbook §28) defines exactly two reset modes:
  • "subtract" — threshold is subtracted from the membrane potential after a spike
  • "zero" — membrane potential is reset to zero unconditionally after a spike
Any other string is rejected.

How to fix

Change the reset parameter to one of the valid values:

Example