tf.math.atan
Вычисляет тригонометрический арктангенс x поэлементно.
tf.math.atan(
x, name=None
)
Операция tf.math.atan возвращает обратную величину tf.math.tan таким образом, что если y = tf.math.tan(x) , то x = tf.math.atan(y).
Примечание: Результат операции tf.math.atan будет находиться в обратимом диапазоне tan, т.е. (-π/2, π/2).
Например:
# Note: [1.047, 0.785] ~= [(pi/3), (pi/4)] x = tf.constant([1.047, 0.785]) y = tf.math.tan(x) # [1.731261, 0.99920404] tf.math.atan(y) # [1.047, 0.785] = x
| Аргументы | |
|---|---|
x | A Tensor. Должен быть одного из следующих типов: bfloat16, half, float32, float64, int8, int16, int32, int64, complex64, complex128. |
name | Имя операции (необязательно). |
| Возвращаемые значения | |
|---|---|
A Tensor. Имеет тот же тип, что и x. |
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.3/api_docs/python/tf/math/atan