关于SNN的MACs和FLOPs计算 #211
Answered
by
fangwei123456
Maninnlack
asked this question in
Q&A
-
您好,最近在搭建SNN模型时想要计算SNN模型的MACs和FLOPs,来表示网络的复杂度以及进一步计算网络能耗。但是现在目前github上已有的计算MACs以及FLOPs方法都只能计算torch里面自带的module,所以想来请教一下这方面的计算方法,谢谢! |
Beta Was this translation helpful? Give feedback.
Answered by
fangwei123456
Apr 21, 2022
Replies: 1 comment 3 replies
-
多数和ANN相同,除了SNN特有的SOP。SOP是用脉冲神经元层的脉冲发放总次数(在测试集上统计),与下一层的FLOP相乘得到。 |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Maninnlack
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
多数和ANN相同,除了SNN特有的SOP。SOP是用脉冲神经元层的脉冲发放总次数(在测试集上统计),与下一层的FLOP相乘得到。