tensorflow::ops::ComplexAbs
#include <math_ops.h>Tính giá trị tuyệt đối phức của một tenxơ.
Bản tóm tắt
Cho một tensor x gồm các số phức, phép toán này trả về một tensor kiểu float hoặc double là giá trị tuyệt đối của mỗi phần tử trong x . Tất cả các phần tử trong x phải là các số phức có dạng 0. \(a + bj\)Giá trị tuyệt đối được tính như sau: \( {a^2 + b^2}\).
Luận điểm:
- phạm vi: Một đối tượng Phạm vi
Trả về:
-
Output: Tensor y.
Hàm khởi tạo và hàm hủy | |
|---|---|
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x) | |
ComplexAbs (const :: tensorflow::Scope & scope, :: tensorflow::Input x, const ComplexAbs::Attrs & attrs) |
Thuộc tính công khai | |
|---|---|
operation | |
y | |
Chức năng công cộng | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Các hàm tĩnh công khai | |
|---|---|
Tout (DataType x) | |
Cấu trúc | |
|---|---|
| tensorflow::ops::ComplexAbs::Attrs | Các thiết lập thuộc tính tùy chọn cho ComplexAbs . |
Thuộc tính công khai
hoạt động
Operation operation
y
::tensorflow::Output y
Chức năng công cộng
ComplexAbs
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x )
ComplexAbs
ComplexAbs( const ::tensorflow::Scope & scope, ::tensorflow::Input x, const ComplexAbs::Attrs & attrs )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Các hàm tĩnh công khai
Người môi giới
Attrs Tout( DataType x )