เทนเซอร์โฟลว์:: ออปส์:: อะโคช

#include <math_ops.h>

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

สรุป

ฟังก์ชันนี้รับเทนเซอร์เป็นอินพุต และคำนวณค่าโคไซน์ไฮเปอร์โบลิกผกผันของทุกองค์ประกอบ ช่วง อินพุต คือ [1, inf] หากอินพุตอยู่นอกช่วง ฟังก์ชันจะส่งคืนค่า nan

x = tf.constant([-2, -0.5, 1, 1.2, 200, 10000, float("inf")])
tf.math.acosh(x) ==> [nan nan 0. 0.62236255 5.9914584 9.903487 inf]

ข้อโต้แย้ง:

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

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

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

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

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

อะโคช

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

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const