dòng chảy :: hoạt động :: ComplexAbs

#include <math_ops.h>

Tính toán giá trị tuyệt đối phức tạp của một tensor.

Tóm lược

Cho một tensor x của số phức, phép toán này trả về 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à số phức có dạng \(a + bj\). Giá trị tuyệt đối được tính là \( {a^2 + b^2}\).

Tranh luận:

Lợi nhuận:

Người xây dựng và Người phá 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 chức năng tĩnh công khai

Tout (DataType x)

Cấu trúc

tensorflow :: ops :: ComplexAbs :: Attrs

Bộ 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 

toán tử :: tensorflow :: Đầu vào

 operator::tensorflow::Input() const 

toán tử :: tensorflow :: Đầu ra

 operator::tensorflow::Output() const 

Các chức năng tĩnh công khai

Chào hàng

Attrs Tout(
  DataType x
)