tensorflow::ops::GreaterEqual
#include <math_ops.h>
Возвращает логическое значение (x >= y) поэлементно.
Краткое описание
ПРИМЕЧАНИЕ: GreaterEqual поддерживает вещание. Дополнительную информацию о вещании см. здесь.
Пример:
x = tf.constant([5, 4, 6, 7]) y = tf.constant([5, 2, 5, 10]) tf.math.greater_equal(x, y) ==> [True, True, True, False]
x = tf.constant([5, 4, 6, 7]) y = tf.constant([5]) tf.math.greater_equal(x, y) ==> [True, False, True, True]
Аргументы:
- scope: Объект Scope
Возвращаемое значение:
-
Output: Тензор z.
| Конструкторы и деструкторы | |
|---|---|
GreaterEqual(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y) |
| Общедоступные атрибуты | |
|---|---|
operation | |
z | |
| Общедоступные функции | |
|---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const | |
Общедоступные атрибуты
operation
Operation operation
z
::tensorflow::Output z
Общедоступные функции
GreaterEqual
GreaterEqual( const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Входной
operator::tensorflow::Input() const
оператор::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/greater-equal