เทนเซอร์โฟลว์:: ปฏิบัติการ:: อาทาน
#include <math_ops.h>คำนวณแทนเจนต์ไฮเปอร์โบลิกผกผันขององค์ประกอบ x
สรุป
เมื่อพิจารณาอินพุตเทนเซอร์ ฟังก์ชันนี้จะคำนวณแทนเจนต์ไฮเปอร์โบลิกผกผันสำหรับทุกองค์ประกอบในเมตริกซ์ ช่วง อินพุต คือ [-1,1] และช่วงเอาต์พุตคือ [-inf, inf] หากอินพุตเป็น -1 เอาต์พุตจะเป็น -inf และหากอินพุตเป็น 1 เอาต์พุตจะเป็น inf ค่าที่อยู่นอกช่วงจะมี nan เป็นเอาต์พุต
x = tf.constant([-float("inf"), -1, -0.5, 1, 0, 0.5, 10, float("inf")]) tf.math.atanh(x) ==> [nan -inf -0.54930615 inf 0. 0.54930615 nan nan]
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
ผลตอบแทน:
-
Output: y เทนเซอร์
ตัวสร้างและผู้ทำลาย | |
|---|---|
Atanh (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
งานสาธารณะ
อาทาน
Atanh( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const