텐서플로우:: 연산:: 실제
#include <math_ops.h>복소수의 실수 부분을 반환합니다.
요약
복소수로 이루어진 텐서가 input 되면, 이 연산은 input 의 각 요소의 실수 부분을 float 타입의 텐서로 반환합니다. input 의 모든 요소는 다음과 같은 형태의 복소수여야 합니다. \(a + bj\)여기서 a 는 이 연산에서 반환되는 실수 부분이고 b 는 허수 부분입니다.
예를 들어:
# tensor 'input' is [-2.25 + 4.75j, 3.25 + 5.75j] tf.real(input) ==> [-2.25, 3.25]
논거:
- 범위: Scope 객체
보고:
-
Output: 출력 텐서.
생성자와 소멸자 | |
|---|---|
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
Real (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const Real::Attrs & attrs) |
공개 속성 | |
|---|---|
operation | |
output | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 정적 함수 | |
|---|---|
Tout (DataType x) | |
구조 | |
|---|---|
| 텐서플로우:: 연산:: 실제:: 속성 | Real 에 대한 선택적 속성 설정기입니다. |
공개 속성
작업
Operation operation
산출
::tensorflow::Output output
공공 기능
진짜
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
진짜
Real( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const Real::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
암표 장수
Attrs Tout( DataType x )