mindspore.ops.bessel_k1e

View Source On Gitee
mindspore.ops.bessel_k1e(x)[source]

Computes the exponentially scaled first order modified Bessel function of the second kind for each element input.

\[\begin{split}\begin{array}{ll} \\ K_{1}e(x)= e^{(-|x|)} * K_{1}(x) = e^{(-|x|)} * \int_{0} ^{\infty} e^{-x \cosh t} \cosh (t) d t \end{array}\end{split}\]
Parameters

x (Tensor) – The input tensor.

Returns

Tensor

Supported Platforms:

GPU CPU

Examples

>>> import mindspore
>>> x = mindspore.tensor([0.5, 1., 2., 4.])
>>> output = mindspore.ops.bessel_k1e(x)
>>> print(output)
[2.73100971  1.63615349  1.03347685  0.68157595]