tensorflow:: ops:: Log
#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) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
y | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
y
::tensorflow::Output y
หน้าที่สาธารณะ
บันทึก
Log( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const