tensorflow::ops::StringFormat

#include <string_ops.h>

Formatta un modello di stringa utilizzando un elenco di tensori.

Riepilogo

Formatta un modello di stringa utilizzando un elenco di tensori, formattando in modo leggibile i riepiloghi dei tensori.

Argomentazioni:

  • ambito: un oggetto Scope
  • input: L'elenco dei tensori da formattare nella stringa segnaposto.

Attributi opzionali (vedere Attrs ):

  • template_: Una stringa, il modello per formattare i riepiloghi dei tensori.
  • segnaposto: una stringa; in corrispondenza di ciascun segnaposto nel modello verrà inserito un successivo riepilogo del tensore.
  • Riepilogo: Durante la formattazione dei riepiloghi del tensore, stampa la prima e l'ultima voce di riepilogo di ciascuna dimensione del tensore.

Resi:

  • Output : = Lo scalare stringa risultante.

Costruttori e distruttori

StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs)
StringFormat (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, const StringFormat::Attrs & attrs)

attributi pubblici

operation
output

Funzioni pubbliche

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Funzioni statiche pubbliche

Placeholder (StringPiece x)
Summarize (int64 x)
Template (StringPiece x)

Strutture

tensorflow::ops::StringFormat::Attrs

Impostatori di attributi opzionali per StringFormat .

attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

Formato stringa

 StringFormat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs
)

Formato stringa

 StringFormat(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList inputs,
  const StringFormat::Attrs & attrs
)

nodo

::tensorflow::Node * node() const 

operatore::tensorflow::Input

 operator::tensorflow::Input() const 

operatore::tensoreflusso::output

 operator::tensorflow::Output() const 

Funzioni statiche pubbliche

Titolare

Attrs Placeholder(
  StringPiece x
)

Riassumere

Attrs Summarize(
  int64 x
)

Modello

Attrs Template(
  StringPiece x
)