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 )
© 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/approximate-equal