Tensorflow :: ops :: StringFormat
#include <string_ops.h>
Formatiert eine Zeichenfolgenvorlage mithilfe einer Liste von Tensoren.
Zusammenfassung
Formatiert eine Zeichenfolgenvorlage mithilfe einer Liste von Tensoren und druckt Tensor-Zusammenfassungen.
Argumente:
- scope: Ein Scope- Objekt
- Eingaben: Die Liste der Tensoren, die in die Platzhalterzeichenfolge formatiert werden sollen.
Optionale Attribute (siehe Attrs
):
- template_: Eine Zeichenfolge, in die Tensor-Zusammenfassungen formatiert werden sollen.
- Platzhalter: Eine Zeichenfolge. An jedem Platzhalter in der Vorlage wird eine nachfolgende Tensorzusammenfassung eingefügt.
- Zusammenfassung: Beim Formatieren der Tensor-Zusammenfassungen werden die ersten und letzten Zusammenfassungseinträge jeder Tensordimension gedruckt.
Kehrt zurück:
-
Output
: = Der resultierende String-Skalar.
Konstruktoren und Destruktoren | |
---|---|
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs) |
Öffentliche Attribute | |
---|---|
operation | |
output |
Öffentliche Funktionen | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Öffentliche statische Funktionen | |
---|---|
Placeholder (StringPiece x) | |
Summarize (int64 x) | |
Template (StringPiece x) |
Strukturen | |
---|---|
tensorflow :: ops :: StringFormat :: Attrs | Optionale Attributsetzer für StringFormat . |
Öffentliche Attribute
Operation
Operation operation
Ausgabe
::tensorflow::Output output
Öffentliche Funktionen
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
Knoten
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Öffentliche statische Funktionen
Platzhalter
Attrs Placeholder( StringPiece x )
Zusammenfassen
Attrs Summarize( int64 x )
Vorlage
Attrs Template( StringPiece x )