tensorflow::ops::DecodeRaw

#include <parsing_ops.h>

Bir metin dizisinin baytlarını sayı vektörü olarak yeniden yorumlayın.

Özet

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • Bayt: Tüm elemanların aynı uzunlukta olması gerekir.

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

  • little_endian: Giriş bytes little-endian sıralamasında olup olmadığını belirtir. uint8 gibi tek bir baytta saklanan out_type değerleri için göz ardı edilir.

İadeler:

  • Output : Giriş bytes sayısından bir boyut daha fazla olan bir Tensor . Eklenen boyutun boyutu, bytes elemanlarının uzunluğunun, out_type temsil eden bayt sayısına bölünmesiyle elde edilen değere eşit 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

Kamusal işlevler

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

Herkese açık statik fonksiyonlar

LittleEndian (bool x)

Yapılar

tensorflow::ops::DecodeRaw::Attrs

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

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 

Herkese açık statik fonksiyonlar

Küçük Uçlu

Attrs LittleEndian(
  bool x
)