Skip to content

Commit 5fff8ff

Browse files
committed
Add expit alias to xtensor math
1 parent 6b71a80 commit 5fff8ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pytensor/xtensor/math.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def _as_xelemwise(core_op: ScalarOp) -> XElemwise:
101101
maximum = _as_xelemwise(ps.scalar_maximum)
102102
minimum = _as_xelemwise(ps.scalar_minimum)
103103
second = _as_xelemwise(ps.second)
104-
sigmoid = _as_xelemwise(ps.sigmoid)
104+
sigmoid = expit = _as_xelemwise(ps.sigmoid)
105105
sign = _as_xelemwise(ps.sign)
106106
sin = _as_xelemwise(ps.sin)
107107
sinh = _as_xelemwise(ps.sinh)

0 commit comments

Comments
 (0)