เทนเซอร์โฟลว์:: ปฏิบัติการ:: เท่ากัน
#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) | 
| คุณลักษณะสาธารณะ | |
|---|---|
| operation | |
| z | |
| งานสาธารณะ | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| ฟังก์ชันคงที่สาธารณะ | |
|---|---|
| IncompatibleShapeError (bool x) | |
| โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: ops :: เท่ากับ :: Attrs | ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ Equal | 
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
z
::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 )