เทนเซอร์โฟลว์:: ออปส์:: อาซิน

#include <math_ops.h>

คำนวณค่าผกผันของไซน์ตรีโกณมิติของ x ทีละองค์ประกอบ

สรุป

การดำเนินการ tf.math.asin จะส่งคืนค่าผกผันของ tf.math.sin กล่าวคือ ถ้า y = tf.math.sin(x) แล้ว x = tf.math.asin(y)

หมายเหตุ : ผลลัพธ์ของ tf.math.asin จะอยู่ในช่วงที่ฟังก์ชันไซน์สามารถผกผันได้ กล่าวคือ [-pi/2, pi/2]

ตัวอย่างเช่น:

# Note: [1.047, 0.785] ~= [(pi/3), (pi/4)]
x = tf.constant([1.047, 0.785])
y = tf.math.sin(x) # [0.8659266, 0.7068252]

tf.math.asin(y) # [1.047, 0.785] = x

ข้อโต้แย้ง:

การส่งคืนสินค้า:

  • Output : เทนเซอร์ y

ตัวสร้างและตัวทำลาย

Asin (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

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

อาสิน

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

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const