Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

tf.math.special.bessel_k1

View source on GitHub

Computes the Bessel k1 function of x element-wise.

Modified Bessel function of order 1.

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

tf.math.special.bessel_k1([0.5, 1., 2., 4.]).numpy()
array([1.65644112, 0.60190723, 0.13986588, 0.0124835 ], 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.k1