เทนเซอร์โฟลว์:: ปฏิบัติการ:: ไม่เท่ากับ

#include <math_ops.h>

ส่งกลับค่าความจริงของ (x != y) ตามองค์ประกอบ

สรุป

หมายเหตุ : NotEqual รองรับการออกอากาศ เพิ่มเติมเกี่ยวกับการออกอากาศ ที่นี่

ข้อโต้แย้ง:

ผลตอบแทน:

  • Output : z เทนเซอร์

ตัวสร้างและผู้ทำลาย

NotEqual (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y)
NotEqual (const :: tensorflow::Scope & scope, :: tensorflow::Input x, :: tensorflow::Input y, const NotEqual::Attrs & attrs)

คุณลักษณะสาธารณะ

operation
z

งานสาธารณะ

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

ฟังก์ชันคงที่สาธารณะ

IncompatibleShapeError (bool x)

โครงสร้าง

เทนเซอร์โฟลว์ :: ops :: ไม่เท่ากัน :: Attrs

ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ NotEqual

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

z

::tensorflow::Output z

งานสาธารณะ

ไม่เท่ากับ

 NotEqual(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y
)

ไม่เท่ากับ

 NotEqual(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  ::tensorflow::Input y,
  const NotEqual::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::tensorflow::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::tensorflow::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

ข้อผิดพลาดรูปร่างเข้ากันไม่ได้

Attrs IncompatibleShapeError(
  bool x
)