เทนเซอร์โฟลว์:: ออปส์:: อะตัน

#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

y

::tensorflow::Output y

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

อาตัน

 Atan(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const