You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am ready to propose a PR that addresses this issue.
I could also extend it to cover the case softplus(-log(x)) -> log1p(1/x). However I have noticed that even the simple exp(-log(x)) -> 1/x is missing, so I wonder if there is an underlying reason to avoid such simplifications, that I am not aware of.
The text was updated successfully, but these errors were encountered:
lciti
linked a pull request
Jun 6, 2025
that will
close
this issue
Description
PyTensor is missing this simple rewrite:
I am ready to propose a PR that addresses this issue.
I could also extend it to cover the case
softplus(-log(x)) -> log1p(1/x)
. However I have noticed that even the simpleexp(-log(x)) -> 1/x
is missing, so I wonder if there is an underlying reason to avoid such simplifications, that I am not aware of.The text was updated successfully, but these errors were encountered: