tensoreflusso:: 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, riepiloghi dei tensori graziosi.

Argomenti:

  • scope: un oggetto Scope
  • input: l'elenco di tensori da formattare nella stringa segnaposto.

Attributi facoltativi (vedi Attrs ):

  • template_: una stringa, il modello in cui formattare i riepiloghi dei tensori.
  • segnaposto: Una stringa, in corrispondenza di ogni segnaposto presente nel template verrà inserito un successivo riepilogo tensore.
  • riepilogo: quando si formattano i riepiloghi del tensore, vengono stampate la prima e l'ultima voce di riepilogo di ciascuna dimensione del tensore.

Ritorna:

  • Output : = La stringa scalare 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 pubbliche statiche

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

Strutture

tensorflow:: ops:: StringFormat:: Attrs

Setter di attributi facoltativi per StringFormat .

Attributi pubblici

operazione

Operation operation

produzione

::tensorflow::Output output

Funzioni pubbliche

StringFormat

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

StringFormat

 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::tensorflow::Output

 operator::tensorflow::Output() const 

Funzioni pubbliche statiche

Segnaposto

Attrs Placeholder(
  StringPiece x
)

Riassumere

Attrs Summarize(
  int64 x
)

Modello

Attrs Template(
  StringPiece x
)