mindspore.ops.bessel_i0

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

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

I0(x)=J0(ix)=m=0x2m22m(m!)2
Parameters

x (Tensor) – The input tensor.

Returns

Tensor

Supported Platforms:

Ascend GPU CPU

Examples

>>> import mindspore
>>> x = mindspore.tensor([-1., -0.5, 0.5, 1.])
>>> output = mindspore.ops.bessel_i0(x)
>>> print(output)
[1.266066  1.0634835 1.0634835 1.266066]