Function torch::special::modified_bessel_k1#
Defined in File special.h
Function Documentation#
-
inline Tensor torch::special::modified_bessel_k1(const Tensor &self)#
Modified Bessel function of the second kind of order 1.
See https://pytorch.org/docs/main/special.html#torch.special.modified_bessel_k1.
Example:
auto x = torch::randn(128, dtype=kDouble); torch::special::modified_bessel_k1(x);