tensorflow::ops::Equal

#include <math_ops.h>

(x == y) ifadesinin eleman bazında doğruluk değerini döndürür.

Özet

NOT : Equal yayıncılığı desteklemektedir. Yayıncılık hakkında daha fazla bilgi burada.

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])

Argümanlar:

İadeler:

Yapıcılar ve Yıkıcılar

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)

Genel özellikler

operation
z

Kamusal işlevler

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

Herkese açık statik fonksiyonlar

IncompatibleShapeError (bool x)

Yapılar

tensorflow::ops::Equal::Attrs

Equal için isteğe bağlı öznitelik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

z

::tensorflow::Output z

Kamusal işlevler

Eşit

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

Eşit

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

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Herkese açık statik fonksiyonlar

UyumsuzŞekilHatası

Attrs IncompatibleShapeError(
  bool x
)