tensorflow:: אופס:: לְהִשְׁתַווֹת
#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
החזרות:
-
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) |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
פונקציות סטטיות ציבוריות | |
---|---|
IncompatibleShapeError (bool x) |
מבנים | |
---|---|
tensorflow:: ops:: שווה:: 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::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
IncompatibleShapeError
Attrs IncompatibleShapeError( bool x )