mindspore.ops.bessel_k0

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

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

K0(x)=limν0(π2)Iν(x)Iν(x)sin(νπ)=0excoshtdt
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_k0(x)
>>> print(output)
[0.92441907  0.42102444  0.11389387  0.01115968]