tensorflow::ops::Abs
#include <math_ops.h>
Вычисляет абсолютное значение тензора.
Краткое описание
Для заданного тензора x эта операция возвращает тензор, содержащий абсолютное значение каждого элемента в x. Например, если x — входной элемент, а y — выходной элемент, эта операция вычисляет \(y = |x|\).
Аргументы:
- scope: объект Scope
Возвращает:
-
Output: Тензор y.
| Конструкторы и деструкторы | |
|---|---|
Abs(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
Открытые функции
Abs
Abs( 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/abs