tensorflow::ops::Image

#include <math_ops.h>

Trả về phần ảo của một số phức.

Bản tóm tắt

Với input một tensor chứa các số phức, phép toán này trả về một tensor kiểu float , là phần ảo của mỗi phần tử trong input . Tất cả các phần tử trong input phải là các số phức có dạng . \(a + bj\)trong đó a là phần thực và b là phần ảo được trả về bởi phép toán này.

Ví dụ:

# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j]
tf.imag(input) ==> [4.75, 5.75]

Luận điểm:

Trả về:

Hàm khởi tạo và hàm hủy

Imag (const :: tensorflow::Scope & scope, :: tensorflow::Input input)
Imag (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Imag::Attrs & attrs)

Thuộc tính công khai

operation
output

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::Image::Attrs

Các thiết lập thuộc tính tùy chọn cho Imag .

Thuộc tính công khai

hoạt động

Operation operation

đầu ra

::tensorflow::Output output

Chức năng công cộng

Hình ảnh

 Imag(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input
)

Hình ảnh

 Imag(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const Imag::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
)