tensorflow:: ops:: StringFormat

#include <string_ops.h>

Formatuje szablon ciągu znaków za pomocą listy tensorów.

Streszczenie

Formatuje szablon ciągu znaków za pomocą listy tensorów i ładnie wyświetla podsumowania tensorów.

Argumenty:

  • zakres: obiekt zakresu
  • dane wejściowe: Lista tensorów do sformatowania w ciągu zastępczym.

Atrybuty opcjonalne (patrz Attrs ):

  • template_: Ciąg znaków, szablon służący do formatowania podsumowań tensorów.
  • symbol zastępczy: ciąg znaków, w każdym symbolu zastępczym w szablonie zostanie wstawione kolejne podsumowanie tensora.
  • podsumowanie: Podczas formatowania podsumowań tensora wydrukuj pierwszy i ostatni wpis podsumowania każdego wymiaru tensora.

Zwroty:

  • Output : = Wynikowy skalar ciągu.

Konstruktory i destruktory

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 settery atrybutów dla StringFormat .

Atrybuty publiczne

działanie

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Format ciągu

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

Format ciągu

 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
)

Streszczać

Attrs Summarize(
  int64 x
)

Szablon

Attrs Template(
  StringPiece x
)