tf.math.bessel_i0
Stay organized with collections
Save and categorize content based on your preferences.
Computes the Bessel i0 function of x
element-wise.
tf.math.bessel_i0(
x, name=None
)
Modified Bessel function of order 0.
It is preferable to use the numerically stabler function i0e(x)
instead.
tf.math.special.bessel_i0([-1., -0.5, 0.5, 1.]).numpy()
array([1.26606588, 1.06348337, 1.06348337, 1.26606588], dtype=float32)
Args |
x
|
A Tensor or SparseTensor . Must be one of the following types: half ,
float32 , float64 .
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor or SparseTensor , respectively. Has the same type as x .
|
Equivalent to scipy.special.i0
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.math.bessel_i0\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/ops/special_math_ops.py#L253-L279) |\n\nComputes the Bessel i0 function of `x` element-wise.\n\n#### View aliases\n\n\n**Main aliases**\n\n[`tf.math.special.bessel_i0`](https://www.tensorflow.org/api_docs/python/tf/math/bessel_i0)\n\n\u003cbr /\u003e\n\n tf.math.bessel_i0(\n x, name=None\n )\n\nModified Bessel function of order 0.\n\nIt is preferable to use the numerically stabler function `i0e(x)` instead. \n\n tf.math.special.bessel_i0([-1., -0.5, 0.5, 1.]).numpy()\n array([1.26606588, 1.06348337, 1.06348337, 1.26606588], dtype=float32)\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|-------------------------------------------------------------------------------------------------|\n| `x` | A `Tensor` or `SparseTensor`. Must be one of the following types: `half`, `float32`, `float64`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A `Tensor` or `SparseTensor`, respectively. Has the same type as `x`. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nscipy compatibility\n-------------------\n\n\u003cbr /\u003e\n\nEquivalent to scipy.special.i0\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]