Rate this Page

Function torch::special::gammainc#

Function Documentation#

inline Tensor torch::special::gammainc(const Tensor &self, const Tensor &other)#

Computes the regularized lower incomplete gamma function See https://pytorch.org/docs/main/special.html#torch.special.gammainc.

Example:

auto t = torch::randn(128, dtype=kDouble);
auto s = torch::randn(128, dtype=kDouble);
torch::special::gammainc(s, t);