เทนเซอร์โฟลว์:: ปฏิบัติการ:: บันทึก
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
#include <math_ops.h>
คำนวณลอการิทึมธรรมชาติขององค์ประกอบ x
สรุป
เช่น, y=x-
ตัวอย่าง:
x = tf.constant([0, 0.5, 1, 5])
tf.math.log(x) ==> [-inf, -0.6931472, 0. , 1.609438]
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
ผลตอบแทน:
-
Output
: y เทนเซอร์
ตัวสร้างและผู้ทำลาย | |
---|---|
Log (const :: tensorflow::Scope & scope, :: tensorflow::Input x) |
งานสาธารณะ | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
ย
::tensorflow::Output y
งานสาธารณะ
บันทึก
Log(
const ::tensorflow::Scope & scope,
::tensorflow::Input x
)
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const