tensorflow::ops::Log
#include <math_ops.h>
Вычисляет натуральный логарифм x поэлементно.
Краткое описание
Т.е., \(y = \log_e x\).
Пример:
x = tf.constant([0, 0.5, 1, 5]) tf.math.log(x) ==> [-inf, -0.6931472, 0. , 1.609438]
Аргументы:
- scope: Объект Scope
Возвращаемое значение:
-
Output: Тензор y.
| Конструкторы и деструкторы | |
|---|---|
Log(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
Публичные функции
Log
Log( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
узел
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Выход
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/log