逐元素計算x 的 index 積分。
用法
tf.math.special.expint(
x, name=None
)參數
-
x一個Tensor或SparseTensor。必須是以下類型之一:float32,float64。 -
name操作的名稱(可選)。
返回
-
分別是
Tensor或SparseTensor。具有與x相同的類型。
index 積分定義為 exp(t) / t 從 -inf 到 x 的積分,定義域為所有正實數。
tf.math.special.expint([1., 1.1, 2.1, 4.1]).numpy()
array([ 1.8951179, 2.1673784, 5.3332353, 21.048464], dtype=float32)
此實現基於 Cephes 數學庫。
scipy 兼容性
相當於 scipy.special.expi
相關用法
- Python tf.math.special.fresnel_cos用法及代碼示例
- Python tf.math.special.bessel_k0e用法及代碼示例
- Python tf.math.special.fresnel_sin用法及代碼示例
- Python tf.math.special.bessel_j1用法及代碼示例
- Python tf.math.special.bessel_j0用法及代碼示例
- Python tf.math.special.bessel_y0用法及代碼示例
- Python tf.math.special.bessel_k1用法及代碼示例
- Python tf.math.special.bessel_k1e用法及代碼示例
- Python tf.math.special.bessel_k0用法及代碼示例
- Python tf.math.special.spence用法及代碼示例
- Python tf.math.special.dawsn用法及代碼示例
- Python tf.math.special.bessel_y1用法及代碼示例
- Python tf.math.segment_prod用法及代碼示例
- Python tf.math.scalar_mul用法及代碼示例
- Python tf.math.segment_mean用法及代碼示例
- Python tf.math.sinh用法及代碼示例
- Python tf.math.sign用法及代碼示例
- Python tf.math.sin用法及代碼示例
- Python tf.math.segment_max用法及代碼示例
- Python tf.math.softplus用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.math.special.expint。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
