tensor akışı:: işlem:: DecodePaddedRaw

#include <parsing_ops.h>

Bir dizenin baytlarını sayıların vektörü olarak yeniden yorumlayın.

Özet

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • input_bytes: Kodu çözülecek dizenin tensörü .
  • sabit_uzunluk: Kodu çözülmüş çıktının her bir öğesi için bayt cinsinden uzunluk. Çıkış türünün boyutunun katı olmalıdır.

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

  • little_endian: input_bytes küçük-endian düzeninde olup olmadığı. uint8 gibi tek bir baytta saklanan out_type değerleri için göz ardı edilir

İadeler:

  • Output : Giriş bytes bir fazla boyuta sahip bir Tensör . Eklenen boyut, bytes öğelerinin uzunluğunun out_type temsil edecek bayt sayısına bölünmesine eşit bir boyuta sahip olacaktır.

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

DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type)
DecodePaddedRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input input_bytes, :: tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::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

LittleEndian (bool x)

Yapılar

tensorflow:: ops:: DecodePaddedRaw:: Öznitelikler

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type
)

DecodePaddedRaw

 DecodePaddedRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_bytes,
  ::tensorflow::Input fixed_length,
  DataType out_type,
  const DecodePaddedRaw::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

KüçükEndian

Attrs LittleEndian(
  bool x
)