tensorflow::ops::Atan
#include <math_ops.h>
Поэлементно вычисляет арктангенс x.
Сводка
Операция tf.math.atan возвращает обратную функцию для tf.math.tan, то есть если y = tf.math.tan(x), то x = tf.math.atan(y).
Примечание: Результат tf.math.atan будет находиться в диапазоне обратимости tan, то есть (-pi/2, pi/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
Аргументы:
- scope: объект Scope
Возвращает:
-
Output: тензор y.
| Конструкторы и деструкторы | |
|---|---|
Atan(const ::tensorflow::Scope & scope, ::tensorflow::Input x) |
| Публичные атрибуты | |
|---|---|
operation | |
y | |
| Публичные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Публичные атрибуты
operation
Operation operation
y
::tensorflow::Output y
Публичные функции
Atan
Atan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
© 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/cc/class/tensorflow/ops/atan