Skip to content

[Add] Heaviside Operator

Jerome Hue requested to merge jeromeh/aidge_core:heaviside-operator into dev

Context

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.

Edited by Jerome Hue

Merge request reports

Loading