Spec-Zone.ru › TensorFlow C++ 1.15

tensorflow::ops::Expm1

#include <math_ops.h>

Вычисляет exp(x) - 1 поэлементно.

Summary

Т.е. exp(x) - 1 или e^(x) - 1, где x — тензор-вход. e обозначает число Эйлера и приблизительно равно 2,718281.

x = tf.constant(2.0)
tf.math.expm1(x) ==> 6.389056
x = tf.constant([2.0, 8.0])
tf.math.expm1(x) ==> array([6.389056, 2979.958], dtype=float32)
x = tf.constant(1 + 1j)
tf.math.expm1(x) ==> (0.46869393991588515+2.2873552871788423j)

Аргументы:

  • scope: Объект Scope

Возвращаемые значения:

  • Output: Тензор y.
Конструкторы и деструкторы
Expm1(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 operation

y

::tensorflow::Output y

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

Expm1

 Expm1(
  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 

© 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/r1.15/api_docs/cc/class/tensorflow/ops/expm1

Spec-Zone.ru

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