計算 x 元素的反雙曲正切。
用法
tf.raw_ops.Atanh(
x, name=None
)參數
-
x一個Tensor。必須是以下類型之一:bfloat16,half,float32,float64,complex64,complex128。 -
name操作的名稱(可選)。
返回
-
一個
Tensor。具有與x相同的類型。
給定輸入張量,此函數計算張量中每個元素的反雙曲正切。輸入範圍為 [-1,1] ,輸出範圍為 [-inf, inf] 。如果輸入為 -1 ,則輸出為 -inf ,如果輸入為 1 ,則輸出為 inf 。超出範圍的值將以nan 作為輸出。
x = tf.constant([-float("inf"), -1, -0.5, 1, 0, 0.5, 10, float("inf")])
tf.math.atanh(x) ==> [nan -inf -0.54930615 inf 0. 0.54930615 nan nan]
相關用法
- Python tf.raw_ops.Atan2用法及代碼示例
- Python tf.raw_ops.Atan用法及代碼示例
- Python tf.raw_ops.AddN用法及代碼示例
- Python tf.raw_ops.Asinh用法及代碼示例
- Python tf.raw_ops.Angle用法及代碼示例
- Python tf.raw_ops.Asin用法及代碼示例
- Python tf.raw_ops.AssignVariableXlaConcatND用法及代碼示例
- Python tf.raw_ops.Acosh用法及代碼示例
- Python tf.raw_ops.ArgMax用法及代碼示例
- Python tf.raw_ops.ArgMin用法及代碼示例
- Python tf.raw_ops.AsString用法及代碼示例
- Python tf.raw_ops.TPUReplicatedInput用法及代碼示例
- Python tf.raw_ops.Bitcast用法及代碼示例
- Python tf.raw_ops.SelfAdjointEigV2用法及代碼示例
- Python tf.raw_ops.BatchMatMul用法及代碼示例
- Python tf.raw_ops.OneHot用法及代碼示例
- Python tf.raw_ops.ResourceScatterNdSub用法及代碼示例
- Python tf.raw_ops.ReadVariableXlaSplitND用法及代碼示例
- Python tf.raw_ops.GatherV2用法及代碼示例
- Python tf.raw_ops.Expm1用法及代碼示例
注:本文由純淨天空篩選整理自tensorflow.org大神的英文原創作品 tf.raw_ops.Atanh。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。
