เทนเซอร์โฟลว์::ออปส์::เอ็กซ์โลจี

#include <math_ops.h>

ส่งคืนค่า 0 ถ้า x == 0 และ x * log(y) ถ้าเป็นอย่างอื่น โดยพิจารณาตามแต่ละองค์ประกอบ

สรุป

ข้อโต้แย้ง:

การส่งคืนสินค้า:

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

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

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

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

operation
z

หน้าที่สาธารณะ

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

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

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

Operation operation

z

::tensorflow::Output z

หน้าที่สาธารณะ

เอ็กซ์โลจี

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

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const