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

tensorflow :: ops :: 상상

#include <math_ops.h>

복소수의 허수 부를 반환합니다.

요약

복소수의 텐서 input 이 주어지면이 연산은 input 에있는 각 요소의 허수 부분 인 float 유형의 텐서를 반환합니다. input 모든 요소는 \(a + bj\) 형식의 복소수 여야합니다. 여기서 a 는 실수 부분이고 b 는이 연산에서 반환 된 허수 부분입니다.

예를 들면 :

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

인수 :

보고:

생성자와 소멸자

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

공용 속성

operation
output

공공 기능

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

공개 정적 함수

Tout (DataType x)

구조체

tensorflow :: ops :: Imag :: Attrs

Imag의 선택적 속성 설정자입니다.

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

상상

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

상상

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

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

암표 장수

Attrs Tout(
  DataType x
)