テンソルフロー::作戦::文字列として
#include <string_ops.h>指定されたテンソルの各エントリを文字列に変換します。
まとめ
多くの数値型とブール値をサポートします。
Unicode については、[ https://www.tensorflow.org/tutorials/representation/unicode ](Unicode テキストの操作) チュートリアルを参照してください。
引数:
- スコープ:スコープオブジェクト
オプションの属性 ( Attrsを参照):
- precision: 浮動小数点数に使用する 10 進数以降の精度。精度 > -1 の場合にのみ使用されます。
- Scientific: 浮動小数点数に科学表記を使用します。
- 最短: 浮動小数点数の最短表現 (科学的または標準) を使用します。
- width: 10 進数より前の数値をこの幅に埋め込みます。浮動小数点数と整数の両方に適用されます。幅 > -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) | |
| 構造体 | |
|---|---|
| tensorflow:: ops:: AsString:: Attrs | AsStringのオプションの属性セッター。 | 
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
文字列として
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input )
文字列として
AsString( const ::tensorflow::Scope & scope, ::tensorflow::Input input, const AsString::Attrs & attrs )
ノード
::tensorflow::Node * node() const
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
埋める
Attrs Fill( StringPiece x )
精度
Attrs Precision( int64 x )
科学的
Attrs Scientific( bool x )
最短
Attrs Shortest( bool x )
幅
Attrs Width( int64 x )