เทนเซอร์โฟลว์:: ปฏิบัติการ:: อาทัน
#include <math_ops.h>คำนวณแทนเจนต์ผกผันตรีโกณมิติขององค์ประกอบ x
สรุป
การดำเนินการ tf.math.atan จะส่งคืนค่าผกผันของ tf.math.tan หาก y = tf.math.tan(x) ดังนั้น x = tf.math.atan(y)
หมายเหตุ : ผลลัพธ์ของ tf.math.atan จะอยู่ในช่วง tan ที่กลับด้านได้ เช่น (-pi/2, pi/2)
ตัวอย่างเช่น:
# Note: [1.047, 0.785] ~= [(pi/3), (pi/4)] x = tf.constant([1.047, 0.785]) y = tf.math.tan(x) # [1.731261, 0.99920404]
tf.math.atan(y) # [1.047, 0.785] = x
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
ผลตอบแทน:
-
Output: y เทนเซอร์
ตัวสร้างและผู้ทำลาย | |
|---|---|
Atan (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
งานสาธารณะ
อาทัน
Atan( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const