Spec-Zone.ru › TensorFlow C++ 2.9

tensorflow::ops::Less

#include <math_ops.h>

Возвращает логическое значение (x < y) поэлементно.

Краткое описание

ПРИМЕЧАНИЕ: Less поддерживает вещание. Подробнее о вещании здесь

Пример:

x = tf.constant([5, 4, 6])
y = tf.constant([5])
tf.math.less(x, y) ==> [False, True, False]
x = tf.constant([5, 4, 6])
y = tf.constant([5, 6, 7])
tf.math.less(x, y) ==> [False, True, True]

Аргументы:

  • scope: Объект Scope

Возвращает:

  • Output: Тензор z.
Конструкторы и деструкторы
Less(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y)
Общедоступные атрибуты
operation
Operation
z
::tensorflow::Output
Общедоступные функции
node() const
::tensorflow::Node *
operator::tensorflow::Input() const
operator::tensorflow::Output() const

Общедоступные атрибуты

operation

Operation operation

z

::tensorflow::Output z

Общедоступные функции

Less

 Less(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

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/versions/r2.9/api_docs/cc/class/tensorflow/ops/less

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API