tensorflow::ops::ComplexAbs
#include <math_ops.h>คำนวณค่าสัมบูรณ์เชิงซ้อนของเทนเซอร์
สรุป
เมื่อกำหนดเทนเซอร์ x ของจำนวนเชิงซ้อน การดำเนินการนี้จะส่งคืนเทนเซอร์ประเภท float หรือ double ซึ่งเป็นค่าสัมบูรณ์ของแต่ละองค์ประกอบใน x องค์ประกอบ ทั้งหมด ใน x ต้องเป็นจำนวนเชิงซ้อนในรูปแบบที่กำหนด \(a + bj\)ค่าสัมบูรณ์คำนวณได้ดังนี้ \( {a^2 + b^2}\).
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
การส่งคืนสินค้า:
-
Output: เทนเซอร์ y
ตัวสร้างและตัวทำลาย | |
|---|---|
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x) | |
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x, const ComplexAbs::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
|---|---|
operation | |
y | |
หน้าที่สาธารณะ | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
ฟังก์ชันคงที่สาธารณะ | |
|---|---|
Tout (DataType x) | |
โครงสร้าง | |
|---|---|
| tensorflow::ops::ComplexAbs::Attrs | ตัวเลือกการตั้งค่าแอตทริบิวต์สำหรับ ComplexAbs |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
y
::tensorflow::Output y
หน้าที่สาธารณะ
คอมเพล็กซ์แอ็บส์
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
คอมเพล็กซ์แอ็บส์
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x, const ComplexAbs::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
เอาท์
Attrs Tout( DataType x )