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) |
תכונות ציבוריות | |
---|---|
operation | |
z |
תפקידים ציבוריים | |
---|---|
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 )
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[]
[]