tensorflow:: ops:: StringFormat
#include <string_ops.h>テンソルのリストを使用して文字列テンプレートをフォーマットします。
まとめ
テンソルのリストを使用して文字列テンプレートをフォーマットし、テンソルの要約を整形して表示します。
議論:
- スコープ:スコープオブジェクト
- 入力: プレースホルダー文字列にフォーマットするテンソルのリスト。
オプション属性( Attrs参照):
- template_: 文字列。テンソル要約をフォーマットするためのテンプレート。
- プレースホルダー: 文字列。テンプレート内の各プレースホルダーには、後続のテンソルサマリーが挿入されます。
- 要約: テンソル要約をフォーマットする際に、各テンソル次元の最初と最後の要約エントリを出力します。
返品:
-
Output:= 結果として得られる文字列スカラー。
コンストラクターとデストラクタ | |
|---|---|
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
Placeholder (StringPiece x) | |
Summarize (int64 x) | |
Template (StringPiece x) | |
構造 | |
|---|---|
| tensorflow:: ops:: StringFormat:: Attrs | StringFormatのオプション属性セッター。 |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
文字列形式
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
文字列形式
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
プレースホルダー
Attrs Placeholder( StringPiece x )
要約する
Attrs Summarize( int64 x )
テンプレート
Attrs Template( StringPiece x )