tensorflow :: ops :: StringFormat

#include <string_ops.h>

Bir tensör listesi kullanarak bir dizi şablonunu biçimlendirir.

Özet

Bir dizi şablonunu, tensörlerin bir listesini kullanarak biçimlendirir, oldukça etkileyici tensör özetleri.

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • inputs: Yer tutucu dizesine biçimlendirilecek tensörlerin listesi.

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

  • template_: Tensör özetlerinin biçimlendirileceği şablon.
  • yer tutucu: Şablondaki her yer tutucuya bir dizi, sonraki bir tensör özeti eklenecektir.
  • özetleyin: Tensör özetlerini biçimlendirirken, her tensör boyutunun ilk ve son özetini yazdırın.

İadeler:

  • Output : = Sonuçta elde edilen skaler dizi.

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

Kamusal işlevler

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 :: Attrs

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

StringFormat

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

StringFormat

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

düğüm

::tensorflow::Node * node() const 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: 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
)