텐서플로우:: 연산:: 복합

#include <math_ops.h>

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

요약

복소수의 실수 부분을 나타내는 텐서 ` real 과 허수 부분을 나타내는 텐서 ` imag 가 주어졌을 때, 이 연산은 다음과 같은 형태의 복소수를 요소별로 반환합니다. \(a + bj\)여기서 a는 real 부분을, b는 imag 부분을 나타냅니다.

입력 텐서인 real 텐서와 imag 동일한 형태를 가져야 합니다.

예를 들어:

# 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)

구조

텐서플로우:: 연산:: 복합:: 속성

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
)