tensorflow :: ops :: StringFormat
#include <string_ops.h>
Formatuje szablon ciągu przy użyciu listy tensorów.
streszczenie
Formatuje szablon ciągu przy użyciu listy tensorów, ładnie drukujących podsumowania tensorów.
Argumenty:
- zakres: obiekt Scope
- dane wejściowe: lista tensorów do sformatowania w ciągu znaków zastępczych.
Atrybuty opcjonalne (patrz Attrs
):
- template_: ciąg, szablon do formatowania podsumowań tensorów.
- symbol zastępczy: ciąg znaków, przy każdym symbolu zastępczym w szablonie zostanie wstawione kolejne podsumowanie tensora.
- podsumuj: Podczas formatowania podsumowań tensorów wydrukuj pierwsze i ostatnie podsumowania wpisów każdego wymiaru tensora.
Zwroty:
-
Output
: = Wynikowy ciąg znaków skalarnych.
Konstruktorzy i niszczyciele | |
---|---|
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs) |
Atrybuty publiczne | |
---|---|
operation | |
output |
Funkcje publiczne | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Publiczne funkcje statyczne | |
---|---|
Placeholder (StringPiece x) | |
Summarize (int64 x) | |
Template (StringPiece x) |
Struktury | |
---|---|
tensorflow :: ops :: StringFormat :: Attrs | Opcjonalne metody ustawiające atrybuty dla StringFormat . |
Atrybuty publiczne
operacja
Operation operation
wynik
::tensorflow::Output output
Funkcje publiczne
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Symbol zastępczy
Attrs Placeholder( StringPiece x )
Podsumować
Attrs Summarize( int64 x )
Szablon
Attrs Template( StringPiece x )