按元素計算 x 的雙曲正弦。
用法
tf.math.sinh(
x, name=None
)
參數
-
x
一個Tensor
。必須是以下類型之一:bfloat16
,half
,float32
,float64
,complex64
,complex128
。 -
name
操作的名稱(可選)。
返回
-
一個
Tensor
。具有與x
相同的類型。
給定一個輸入張量,此函數計算張量中每個元素的雙曲正弦值。輸入範圍為 [-inf,inf]
,輸出範圍為 [-inf,inf]
。
x = tf.constant([-float("inf"), -9, -0.5, 1, 1.2, 2, 10, float("inf")])
tf.math.sinh(x) ==> [-inf -4.0515420e+03 -5.2109528e-01 1.1752012e+00 1.5094614e+00 3.6268604e+00 1.1013232e+04 inf]
相關用法
- Python tf.math.sin用法及代碼示例
- Python tf.math.sign用法及代碼示例
- Python tf.math.sigmoid用法及代碼示例
- Python tf.math.special.fresnel_cos用法及代碼示例
- Python tf.math.special.bessel_k0e用法及代碼示例
- Python tf.math.segment_prod用法及代碼示例
- Python tf.math.scalar_mul用法及代碼示例
- Python tf.math.special.fresnel_sin用法及代碼示例
- Python tf.math.segment_mean用法及代碼示例
- Python tf.math.special.bessel_j1用法及代碼示例
- Python tf.math.special.bessel_j0用法及代碼示例
- Python tf.math.special.bessel_y0用法及代碼示例
- Python tf.math.segment_max用法及代碼示例
- Python tf.math.special.bessel_k1用法及代碼示例
- Python tf.math.softplus用法及代碼示例
- Python tf.math.special.bessel_k1e用法及代碼示例
- Python tf.math.square用法及代碼示例
- Python tf.math.subtract用法及代碼示例
- Python tf.math.special.bessel_k0用法及代碼示例
- Python tf.math.special.spence用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.math.sinh。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。