chan8972 / Enabling_Spikebased_Backpropagation

MIT License
32 stars 7 forks source link

Estimating Energy consumption #5

Open tehreemnaqvi opened 3 years ago

tehreemnaqvi commented 3 years ago

Hi,

I wanna calculate the total energy consumption of the ANN and SNN model.

I've read your article that you calculated the total energy consumption for both ANN and SNN models, which I got it.

For the SNN model, total energy consumption is calculated as (# of neurons in a particular layer # of synaptic connections average spiking activity).

I didn't exactly understand, how did you calculate the total energy for VGG and ResNet for SNN and ANN models which you've reported in your article? I mean the ratios?

For instance, I've made 4 layer SNN and ANN model for the MNIST dataset then how could I calculate the total energy?

I mean, how I know the total number of spikes in one inference image?

Do you have any code for that, so that I can calculate or Can you please give me an example??

Your help will be highly appreciated.

Thanks