Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何计算能量? #7

Closed
jiaduob opened this issue Jun 12, 2024 · 2 comments
Closed

如何计算能量? #7

jiaduob opened this issue Jun 12, 2024 · 2 comments

Comments

@jiaduob
Copy link

jiaduob commented Jun 12, 2024

作者你好,我想询问一下,论文中的能量相关的数据是如何计算的?或者说用什么工具或者包进行统一标准的计算?感谢您的回复

@bollossom
Copy link
Owner

感谢您关注我们的工作。这很容易实现。以下是逐步细化:

脉冲神经元的输出是二进制的:它要么是 0,要么是 1。
计算每个脉冲神经元之后的特征图的平均值。例如使用 x.mean()。
接下来,将这些平均值相加以计算SNN中每一层的发放率。
计算得到发放率之后根据文章中的公式11来计算功耗。

@jiaduob
Copy link
Author

jiaduob commented Jun 13, 2024

谢谢您的回复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants