-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Open
Labels
module: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorsmodule: specialFunctions with no exact solutions, analogous to those in scipy.specialFunctions with no exact solutions, analogous to those in scipy.specialtrackerA tracking issueA tracking issuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
This issue tracks features and bugs in PyTorch's torch.special module, which is modeled after scipy.special.
Aliases to add
- Alias softmax
- Alias kl_div
Ops to add (NOTE: We are not adding ops until we can reduce their impact on build time and CUDA context size.)
- Add iv
- Add ive
- Add kv
- Add logerfc (see Function request: logerfc, logerfcx special functions #31945)
- Add logerfcx (see Function request: logerfc, logerfcx special functions #31945)
- Add hyp2f1
- Add betainc (being added in [torch.special] Adding betainc #58700)
- Add log_ndtr (reserved for @krshrimali) #74630
- gammaincinv
- gammainccinv
Bugs
- Probable mathematical error in torch.functional.kl_div() KLDivLoss and F.kl_div compute KL(Q || P) rather than KL(P || Q) #57459
- [feature] torch.polygamma : Support Tensor for argument n [feature]
torch.polygamma
: Support Tensor for argumentn
#55299 - torch.polygamma inconsistent with scipy.special.polygamma for n >= 1 [bug] torch.polygamma inconsistent with scipy.special.polygamma for n >= 1 #55357
TODO
- Review Docs (especially
logit
) -
torch.special.expit
should point totorch.sigmoid
(currently it is opposite)
Notes
Reference PR for migrating ops to special namespace : #53260
cossio, shchur, nicola-decao, vsimkus, khushi-411 and 1 morekhushi-411 and tillahoffmann
Metadata
Metadata
Assignees
Labels
module: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorsmodule: specialFunctions with no exact solutions, analogous to those in scipy.specialFunctions with no exact solutions, analogous to those in scipy.specialtrackerA tracking issueA tracking issuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module