เทนเซอร์โฟลว์:: ปฏิบัติการ:: ซึ่งกันและกัน

#include <math_ops.h>

คำนวณส่วนกลับขององค์ประกอบ x

สรุป

คือ \(y = 1 / x\)

ข้อโต้แย้ง:

ผลตอบแทน:

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

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

Reciprocal (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

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

operation
y

งานสาธารณะ

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

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

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

Operation operation

::tensorflow::Output y

งานสาธารณะ

ซึ่งกันและกัน

 Reciprocal(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const