Hello Nengo Community,

I would like to know how to count the number of spikes of a model for a single inference.

What I mean is that once the model in trained for instance in the MNIST tutorial during the prediction I would like to count the number of spikes by the whole model for a single sample. One way would be to follow these posts Counting spikes and Spikes analysis. To calculate the spike for every single neuron in the model and then sum it up. Is there any other efficient way to do it?

Thank you in advance for your reply.