tensorflow :: ops :: StringFormat
#include <string_ops.h>
Memformat template string menggunakan daftar tensor.
Ringkasan
Memformat templat string menggunakan daftar tensor, ringkasan tensor yang dicetak dengan cantik.
Argumen:
- scope: Objek Scope
- input: Daftar tensor yang akan diformat ke dalam string placeholder.
Atribut opsional (lihat Attrs
):
- template_: Sebuah string, template untuk memformat ringkasan tensor.
- placeholder: Sebuah string, di setiap placeholder dalam template ringkasan tensor berikutnya akan disisipkan.
- meringkas: Saat memformat ringkasan tensor, cetak entri ringkasan pertama dan terakhir dari setiap dimensi tensor.
Pengembalian:
-
Output
: = Skalar string yang dihasilkan.
Pembuat dan Penghancur | |
---|---|
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) |
Structs | |
---|---|
tensorflow :: ops :: StringFormat :: Attrs | Penyetel atribut opsional untuk StringFormat . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
StringFormat
StringFormat( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs )
StringFormat
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 :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Placeholder
Attrs Placeholder( StringPiece x )
Meringkaskan
Attrs Summarize( int64 x )
Template
Attrs Template( StringPiece x )