Skip to content

[math] change the internal implementation of surrogate function#562

Merged
chaoming0625 merged 3 commits intomasterfrom
math
Dec 22, 2023
Merged

[math] change the internal implementation of surrogate function#562
chaoming0625 merged 3 commits intomasterfrom
math

Conversation

@chaoming0625
Copy link
Copy Markdown
Member

Description

  • add heaviside_p primitive
  • all surrogate functions (with one argument) support both JVP (forward) and VJP (backward) differentiations
  • enabling the forward gradients of spiking neural networks

How Has This Been Tested

Yes.

…rimitive, so that all surrogate functions support JVP (forward) and VJP (backward) differentiation
@chaoming0625 chaoming0625 merged commit bf6f87e into master Dec 22, 2023
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

Successfully merging this pull request may close these issues.

1 participant