tensor akışı:: işlem:: Eşit

#include <math_ops.h>

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

Özet

NOT : Equal yayını destekler. Burada yayın hakkında daha fazla bilgi

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

Kamu işlevleri

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

Genel statik işlevler

IncompatibleShapeError (bool x)

Yapılar

tensorflow:: ops:: Eşit:: Öznitelikler

Eşit için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

z

::tensorflow::Output z

Kamu işlevleri

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 

Genel statik işlevler

Uyumsuz Şekil Hatası

Attrs IncompatibleShapeError(
  bool x
)