Skip to content

Commit

Permalink
[math] change the internal of surrogate function, add heaviside_p p…
Browse files Browse the repository at this point in the history
…rimitive, so that all surrogate functions support JVP (forward) and VJP (backward) differentiation
  • Loading branch information
chaoming0625 committed Dec 22, 2023
1 parent b561f84 commit 875e1bc
Show file tree
Hide file tree
Showing 4 changed files with 1,764 additions and 6 deletions.
2 changes: 1 addition & 1 deletion brainpy/_src/math/surrogate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


from .base import *
from ._one_input import *
from ._one_input_new import *
from ._two_inputs import *
Loading

0 comments on commit 875e1bc

Please sign in to comment.