텐서플로우:: 작전:: 복잡한

#include <math_ops.h>

두 개의 실수를 복소수로 변환합니다.

요약

복소수의 real 부분을 나타내는 텐서 실수와 복소수의 허수 부분을 나타내는 텐서 imag 주어지면 이 연산은 \(a + bj\)형식의 요소별로 복소수를 반환합니다. 여기서 a는 real 부분을 나타내고 bimag 나타냅니다. 부분.

입력 텐서 realimag 의 모양은 동일해야 합니다.

예를 들어:

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

인수:

보고:

생성자와 소멸자

Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag)
Complex (const :: tensorflow::Scope & scope, :: tensorflow::Input real, :: tensorflow::Input imag, const Complex::Attrs & attrs)

공개 속성

operation
out

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 정적 함수

Tout (DataType x)

구조체

텐서플로우:: ops:: 복합물:: 속성

Complex 에 대한 선택적 속성 설정자입니다.

공개 속성

작업

Operation operation

밖으로

::tensorflow::Output out

공공 기능

복잡한

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag
)

복잡한

 Complex(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input real,
  ::tensorflow::Input imag,
  const Complex::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const 

공개 정적 함수

암표 장수

Attrs Tout(
  DataType x
)