tensorflow::ops::DecodeRaw
#include <parsing_ops.h>Bir metin dizisinin baytlarını sayı vektörü olarak yeniden yorumlayın.
Özet
Argümanlar:
İsteğe bağlı özellikler (bkz. Attrs ):
- little_endian: Giriş
byteslittle-endian sıralamasında olup olmadığını belirtir.uint8gibi tek bir baytta saklananout_typedeğerleri için göz ardı edilir.
İadeler:
-
Output: Girişbytessayısından bir boyut daha fazla olan bir Tensor . Eklenen boyutun boyutu,byteselemanlarının uzunluğunun,out_typetemsil 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 )