[Add] Heaviside Operator
Compare changes
Files
6
include/aidge/operator/Heaviside.hpp
0 → 100644
+ 107
− 0
This will be useful for SNNs, as the relationship between spiking S and potential U can be described as :
S[t] = \Theta(U[t] - U_{\rm thr}) where \Theta(\cdot) is the Heaviside step function.
See also pytorch operator
Fixes #173.
Copyright © Eclipse Foundation, Inc. All Rights Reserved. Privacy Policy | Terms of Use | Copyright Agent