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 | Tensor или SparseTensor. Должен иметь один из следующих типов: half, float32, float64. |
name | Имя операции (необязательно). |
| Возвращает | |
|---|---|
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