Spec-Zone.ru › TensorFlow C++ 2.4

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 будет находиться в области обращения функции tg, т.е. (-π/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

Аргументы:

  • scope: Объект Scope

Возвращает:

  • Output: Тензор y.
Конструкторы и деструкторы
Atan(const ::tensorflow::Scope & scope, ::tensorflow::Input x)
Общедоступные атрибуты
operation
Operation
y
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Общедоступные атрибуты

операция

Operation operation

y

::tensorflow::Output y

Общедоступные функции

Atan

 Atan(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Входной

operator::tensorflow::Input() const 

оператор::tensorflow::Выход

operator::tensorflow::Output() const 

© 2020 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/versions/r2.4/api_docs/cc/class/tensorflow/ops/atan

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API