Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: 복잡한

#include <math_ops.h>

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

요약

텐서 감안할 때 real 복소수의 실수 부분을 대표하고, 텐서 imag 복소수의 허수 부분을 나타내는를,이 작업을 반환 복소수는이 나타내는 형태 \(a + bj\),의 elementwise real 일부와 b가 나타내는 imag 부분.

입력 텐서 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)

구조체

tensorflow :: ops :: Complex :: Attrs

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 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

암표 장수

Attrs Tout(
  DataType x
)