tf.compat.v1.math.bessel_i1
Вычисляет функцию Бесселя i1 от x поэлементно.
tf.compat.v1.math.bessel_i1(
x, name=None
)
Модифицированная функция Бесселя первого порядка.
Предпочтительнее использовать численно более стабильную функцию i1e(x).
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 или SparseTensor. Должно быть одного из следующих типов: half, float32, float64. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
A Tensor или SparseTensor, соответственно. Имеет тот же тип, что и x. |
Совместимость с scipy
Эквивалентно scipy.special.i1
© 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_i1