تدفق التوتر:: العمليات:: متساوي
#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
: الموتر 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:: Equal:: 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
وظائف ثابتة العامة
خطأ في الشكل غير متوافق
Attrs IncompatibleShapeError( bool x )