tensorflow::ops::StringFormat
#include <string_ops.h>Memformat templat string menggunakan daftar tensor.
Ringkasan
Memformat templat string menggunakan daftar tensor, mencetak ringkasan tensor dengan rapi.
Argumen:
- Cakupan: Objek Cakupan
- input: Daftar tensor yang akan diformat menjadi string placeholder.
Atribut opsional (lihat Attrs ):
- template_: Sebuah string, templat untuk memformat ringkasan tensor.
- placeholder: Sebuah string, di setiap placeholder dalam template akan disisipkan ringkasan tensor berikutnya.
- summarize: Saat memformat ringkasan tensor, cetak entri ringkasan pertama dan terakhir dari setiap dimensi tensor.
Mengembalikan:
-
Output: = String skalar hasil.
Konstruktor dan Destruktor | |
|---|---|
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs) | |
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs) |
Atribut publik | |
|---|---|
operation | |
output | |
Fungsi publik | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Fungsi statis publik | |
|---|---|
Placeholder (StringPiece x) | |
Summarize (int64 x) | |
Template (StringPiece x) | |
Struktur | |
|---|---|
| tensorflow::ops::StringFormat::Attrs | Setter atribut opsional untuk StringFormat . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
Format String
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
Format String
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, const StringFormat::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Fungsi statis publik
Placeholder
Attrs Placeholder( StringPiece x )
Meringkaskan
Attrs Summarize( int64 x )
Templat
Attrs Template( StringPiece x )