tensor akışı:: işlem:: Dize Formatı

#include <string_ops.h>

Tensör listesini kullanarak bir dize şablonunu biçimlendirir.

Özet

Bir tensör listesi ve güzel yazdırılan tensör özetleri kullanarak bir dize şablonunu biçimlendirir.

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • girişler: Yer tutucu dizeye biçimlendirilecek tensörlerin listesi.

İsteğe bağlı özellikler (bkz. Attrs ):

  • şablon_: Tensör özetlerinin biçimlendirileceği şablon olan bir dize.
  • yer tutucu: Şablondaki her yer tutucuya bir sonraki tensör özeti eklenecek bir dize.
  • özetle: Tensör özetlerini formatlarken, her tensör boyutunun ilk ve son özet girişlerini yazdırın.

İadeler:

  • Output : = Ortaya çıkan dize skaleri.

Yapıcılar ve Yıkıcılar

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

Genel özellikler

operation
output

Kamu işlevleri

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

Genel statik işlevler

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

Yapılar

tensorflow:: ops:: StringFormat:: Öznitelikler

StringFormat için isteğe bağlı öznitelik ayarlayıcılar.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

Dize Formatı

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

Dize Formatı

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

düğüm

::tensorflow::Node * node() const 

operatör::tensorflow::Giriş

 operator::tensorflow::Input() const 

operatör::tensorflow::Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Yer tutucu

Attrs Placeholder(
  StringPiece x
)

Özetle

Attrs Summarize(
  int64 x
)

Şablon

Attrs Template(
  StringPiece x
)