We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78efe7 commit 11de384Copy full SHA for 11de384
1 file changed
effectful/handlers/jax/scipy/special.py
@@ -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