tensorflow::ops::ApproximateEqual
#include <math_ops.h>
Возвращает логическое значение abs(x-y) < tolerance поэлементно.
Краткое описание
Args:
- scope: Объект Scope
Returns:
-
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