tensorflow::ops::Equal

#include <math_ops.h>

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

Краткое содержание

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

x = tf.constant([2, 4])
y = tf.constant(2)
tf.math.equal(x, y) ==> array([True, False])

x = tf.constant([2, 4])
y = tf.constant([2, 4])
tf.math.equal(x, y) ==> array([True,  True])

Аргументы:

  • scope: Объект Scope

Возвращает:

Конструкторы и Деструкторы

Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)
Equal (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, const Equal::Attrs & attrs)

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

operation
z

Общественные функции

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Открытые статические функции

IncompatibleShapeError (bool x)

Структуры

tensorflow::ops::Equal::Attrs

Дополнительные параметры установки атрибутов для параметра Equal .

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

операция

Operation operation

з

::tensorflow::Output z

Общественные функции

Равный

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

Равный

 Equal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y,
  const Equal::Attrs & attrs
)

узел

::tensorflow::Node * node() const 

оператор::tensorflow::Input

 operator::tensorflow::Input() const 

оператор::tensorflow::Output

 operator::tensorflow::Output() const 

Открытые статические функции

IncompatibleShapeError

Attrs IncompatibleShapeError(
  bool x
)