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