mindspore.ops.bessel_k0e

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

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

\[\begin{split}\begin{array}{ll} \\ K_{0}e(x)= e^{(-|x|)} * K_{0}(x) = e^{(-|x|)} * \int_{0}^ {\infty} e^{-x \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_k0e(x)
>>> print(output)
[1.52410939  1.14446308  0.84156822  0.60929767]