tensor akışı:: işlem:: DecodeRaw

#include <parsing_ops.h>

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

Özet

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • bayt: Tüm öğelerin uzunluğu aynı olmalıdır.

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

  • little_endian: Giriş bytes küçük-endian düzeninde olup olmadığı. uint8 gibi tek bir baytta saklanan out_type değerleri için yoksayılır.

İ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

DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type)
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::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:: DecodeRaw:: Öznitelikler

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

DecodeRaw

 DecodeRaw(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input bytes,
  DataType out_type
)

DecodeRaw

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