tf.compat.v1.math.bessel_i0
Вычисляет функцию Бесселя i0 от x поэлементно.
tf.compat.v1.math.bessel_i0(
x, name=None
)
Модифицированная функция Бесселя нулевого порядка.
Предпочтительнее использовать численно более стабильную функцию i0e(x).
tf.math.special.bessel_i0([-1., -0.5, 0.5, 1.]).numpy() array([1.26606588, 1.06348337, 1.06348337, 1.26606588], dtype=float32)
| Аргументы | |
|---|---|
x | Tensor или SparseTensor. Должно быть одного из следующих типов: half, float32, float64. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
Tensor или SparseTensor, соответственно. Имеет тот же тип, что и x. |
Совместимость со scipy
Эквивалентно scipy.special.i0
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/compat/v1/math/bessel_i0