tensorflow:: ops:: AsString
#include <string_ops.h>주어진 텐서의 각 항목을 문자열로 변환합니다.
요약
다양한 숫자형 및 부울형을 지원합니다.
유니코드에 대해서는 [ https://www.tensorflow.org/tutorials/representation/unicode ](유니코드 텍스트 작업) 튜토리얼을 참조하세요.
논거:
- 범위: Scope 객체
선택적 속성( Attrs 참조):
- 정밀도: 부동 소수점 숫자에 사용할 소수점 이하 자릿수입니다. precision이 -1보다 큰 경우에만 사용됩니다.
- 과학적 표기법: 부동 소수점 숫자에는 과학적 표기법을 사용합니다.
- 가장 짧은 표현 방식: 부동 소수점 숫자에 대해 가장 짧은 표현 방식(공학적 표현 또는 표준 표현)을 사용합니다.
- 너비: 소수점 앞의 숫자를 이 너비로 채웁니다 . 부동 소수점 숫자와 정수 모두에 적용됩니다. 너비가 -1보다 큰 경우에만 사용됩니다.
- fill: 너비가 -1보다 큰 경우 채울 값입니다. 비어 있으면 공백으로 채웁니다. 일반적인 값으로는 '0'이 있습니다. 문자열은 1자보다 길 수 없습니다.
보고:
-
Output: 출력 텐서.
생성자와 소멸자 | |
|---|---|
AsString (const :: tensorflow::Scope & scope, :: tensorflow::Input input) | |
AsString (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const AsString::Attrs & attrs) |
공개 속성 | |
|---|---|
operation | |
output | |
공공 기능 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
공개 정적 함수 | |
|---|---|
Fill (StringPiece x) | |
Precision (int64 x) | |
Scientific (bool x) | |
Shortest (bool x) | |
Width (int64 x) | |
구조 | |
|---|---|
| 텐서플로우:: ops:: AsString:: Attrs | AsString 에 대한 선택적 속성 설정기입니다. |
공개 속성
작업
Operation operation
산출
::tensorflow::Output output
공공 기능
AsString
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
AsString
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const AsString::Attrs & attrs )
마디
::tensorflow::Node * node() const
연산자::텐서플로우::입력
operator::tensorflow::Input() const
연산자::텐서플로우::출력
operator::tensorflow::Output() const
공개 정적 함수
채우다
Attrs Fill( StringPiece x )
정도
Attrs Precision( int64 x )
과학적인
Attrs Scientific( bool x )
가장 짧은
Attrs Shortest( bool x )
너비
Attrs Width( int64 x )