I am adding a custom neuron type operator (stpLIF) to the nengo_dl backend. I first add the regular nengo operator and then the operator builder that is needed for nengo_dl.
from nengo_dl import Builder, NengoBuilder
from nengo.neurons import LIF
def build_stpLIF(model, stplif, neurons):
from nengo_dl.neuron_builders import LIFBuilder
However while making changes to the “stpLIFBuilder” class they seemed to have no effect on the values of the neuron states. So I commented out the @Builder.register(stpLIF) to see what would happen and, well, nothing happened. When I comment out the same line for my learning rule operator I get an error that the class cannot be found. But leaving out the custom neuron builder that would do the tensorflow calculations makes no difference. Would anyone know why this is happening? Should I not get an error when leaving out the registration of this custom neuron type operator builder.
I am using Nengo 2.8.0 and Nengo DL 2.2.2