텐서플로우:: 작전:: 각도

#include <math_ops.h>

복소수의 인수를 반환합니다.

요약

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

이 작업에서 반환된 인수는 \(atan2(b, a)\)형식입니다.

예를 들어:

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

(numpy) np.angle과 동일합니다.

인수:

보고:

생성자와 소멸자

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

공개 속성

operation
output

공공 기능

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

공개 정적 함수

Tout (DataType x)

구조체

텐서플로우:: ops:: 각도:: 속성

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

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

각도

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

각도

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

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

암표 장수

Attrs Tout(
  DataType x
)