テンソルフロー::作戦::文字列形式
#include <string_ops.h>
テンソルのリストを使用して文字列テンプレートをフォーマットします。
まとめ
テンソルのリスト、きれいに印刷されたテンソルの要約を使用して文字列テンプレートをフォーマットします。
引数:
- スコープ:スコープオブジェクト
- inputs: プレースホルダー文字列にフォーマットするテンソルのリスト。
オプションの属性 ( Attrs
を参照):
- template_: 文字列、テンソル要約をフォーマットするテンプレート。
- placeholder: 文字列。テンプレート内の各プレースホルダーに、後続のテンソル概要が挿入されます。
- summary: テンソル要約をフォーマットするとき、各テンソル次元の最初と最後の要約エントリを出力します。
戻り値:
-
Output
: = 結果の文字列スカラー。
コンストラクターとデストラクター | |
---|---|
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs) |
公共機能 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
構造体 | |
---|---|
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 )