टेंसरफ़्लो :: ऑप्स :: बराबरी का
#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 )