Skip to content

Commit 11de384

Browse files
jfesereb8680
andauthored
Add module for jax.scipy.special (#294)
* add module for jax.scipy.special * lint --------- Co-authored-by: eb8680 <eb8680@users.noreply.github.com>
1 parent a78efe7 commit 11de384

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from typing import TYPE_CHECKING
2+
3+
import jax.scipy.special
4+
5+
from effectful.handlers.jax._handlers import _register_jax_op
6+
7+
logsumexp = _register_jax_op(jax.scipy.special.logsumexp)
8+
9+
# Tell mypy about our wrapped functions.
10+
if TYPE_CHECKING:
11+
from jax.scipy.special import logsumexp # noqa: F401

0 commit comments

Comments
 (0)