tensorflow::ops::ApproximateEqual
#include <math_ops.h>
Поэлементно возвращает результат проверки условия abs(x-y) < tolerance.
Краткое описание
Аргументы:
- scope: объект Scope
Возвращает:
-
Output: тензор z.
| Конструкторы и деструкторы | |
|---|---|
ApproximateEqual(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y) | |
ApproximateEqual(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y, const ApproximateEqual::Attrs & attrs) |
| Открытые атрибуты | |
|---|---|
operation | |
z | |
| Открытые функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
| Открытые статические функции | |
|---|---|
Tolerance(float x) | |
| Структуры | |
|---|---|
| tensorflow::ops::ApproximateEqual::Attrs | Необязательные средства задания атрибутов для ApproximateEqual. |
Открытые атрибуты
operation
Operation operation
z
::tensorflow::Output z
Открытые функции
ApproximateEqual
ApproximateEqual( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
ApproximateEqual
ApproximateEqual( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y, const ApproximateEqual::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Открытые статические функции
Tolerance
Attrs Tolerance( float x )
© 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/approximate-equal