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

तर्क:

प्रतिफल:

  • Output : जेड टेंसर।

कंस्ट्रक्टर और डिस्ट्रक्टर

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)

संरचनाएँ

टेन्सरफ्लो::ऑप्स::इक्वल::एट्रिब्यूट्स

इक्वल के लिए वैकल्पिक विशेषता निर्धारक।

सार्वजनिक विशेषताएँ

संचालन

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 

ऑपरेटर::टेन्सरफ्लो::इनपुट

 operator::tensorflow::Input() const 

ऑपरेटर::टेन्सरफ्लो::आउटपुट

 operator::tensorflow::Output() const 

सार्वजनिक स्थैतिक फ़ंक्शन

असंगत आकार त्रुटि

Attrs IncompatibleShapeError(
  bool x
)