TensorFlow

API

 tf.math / bessel_i0


Computes the Bessel i1 function of x element-wise.

Modified Bessel function of order 1.

It is preferable to use the numerically stabler function i1e(x) instead.

tf.math.special.bessel_i1([-1., -0.5, 0.5, 1.]).numpy()
array([-0.5651591 , -0.25789431,  0.25789431,  0.5651591 ], dtype=float32)

x A Tensor or SparseTensor. Must be one of the following types: half, float32, float64.
name A name for the operation (optional).

A Tensor or SparseTensor, respectively. Has the same type as x.

Scipy Compatibility

Equivalent to scipy.special.i1


此页内容是否对您有帮助