tensorflow::ops::DecodePaddedRaw
#include <parsing_ops.h>Bir metin dizisinin baytlarını sayı vektörü olarak yeniden yorumlayın.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- input_bytes: Çözümlenecek dizenin tensörü .
- fixed_length: Çözümlenmiş çıktının her bir öğesinin bayt cinsinden uzunluğu. Çıktı türünün boyutunun katı olmalıdır.
İsteğe bağlı özellikler (bkz. Attrs ):
- little_endian:
input_bytesgirdisinin little-endian sıralamasında olup olmadığını belirtir.uint8gibi tek 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 | |
|---|---|
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 | |
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::DecodePaddedRaw::Attrs | DecodePaddedRaw için isteğe bağlı öznitelik ayarlayıcıları. |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamusal işlevler
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
Herkese açık statik fonksiyonlar
Küçük Uçlu
Attrs LittleEndian( bool x )