Animation · 8 steps
The input runs through two layers. The values of A and B are the intermediate values. The lower limit in layer 1 is marked in orange.

Inputtop switchInputbottom switchLayer 1Neuron A, with lower limitsum of switchesLayer 1Neuron B, with lower limitsum of switches − 1Layer 2Neuron COutputbias 0 1−2