เทนเซอร์โฟลว์:: ปฏิบัติการ:: ถอดรหัสPaddedRaw
#include <parsing_ops.h>
ตีความไบต์ของสตริงใหม่เป็นเวกเตอร์ของตัวเลข
สรุป
อาร์กิวเมนต์:
- ขอบเขต: วัตถุ ขอบเขต
- input_bytes: เทนเซอร์ ของสตริงที่จะถอดรหัส
- fixed_length: ความยาวเป็นไบต์สำหรับแต่ละองค์ประกอบของเอาต์พุตที่ถอดรหัส ต้องเป็นขนาดเท่าของประเภทเอาต์พุต
แอตทริบิวต์เสริม (ดู Attrs
):
- little_endian: ไม่ว่าอินพุต
input_bytes
จะอยู่ในลำดับ little-endian หรือไม่ ละเว้นค่าout_type
ที่เก็บไว้ในไบต์เดียว เช่นuint8
ผลตอบแทน:
-
Output
: เทนเซอร์ ที่มีมิติมากกว่าbytes
อินพุตหนึ่งมิติ มิติที่เพิ่มจะมีขนาดเท่ากับความยาวขององค์ประกอบของbytes
หารด้วยจำนวนไบต์เพื่อแสดงถึงout_type
ตัวสร้างและตัวทำลาย | |
---|---|
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) |
คุณลักษณะสาธารณะ | |
---|---|
operation | |
output |
งานสาธารณะ | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
ฟังก์ชั่นคงที่สาธารณะ | |
---|---|
LittleEndian (bool x) |
โครงสร้าง | |
---|---|
tensorflow:: ops:: DecodePaddedRaw:: Attrs | ตัวตั้งค่าแอตทริบิวต์เสริมสำหรับ DecodePaddedRaw |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
ผลผลิต
::tensorflow::Output output
งานสาธารณะ
ถอดรหัสPaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type )
ถอดรหัสPaddedRaw
DecodePaddedRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input input_bytes, ::tensorflow::Input fixed_length, DataType out_type, const DecodePaddedRaw::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
โอเปอเรเตอร์::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
โอเปอเรเตอร์::เทนเซอร์โฟลว์::เอาท์พุท
operator::tensorflow::Output() const
ฟังก์ชั่นคงที่สาธารณะ
LittleEndian
Attrs LittleEndian( bool x )