tensorflow::ops::DecodeRaw
#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) | |
โครงสร้าง | |
|---|---|
| tensorflow::ops::DecodeRaw::Attrs | ตัวเลือกในการตั้งค่าแอตทริบิวต์สำหรับ DecodeRaw |
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
เอาต์พุต
::tensorflow::Output output
หน้าที่สาธารณะ
ถอดรหัสดิบ
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 )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
ลิตเติ้ลเอนเดียน
Attrs LittleEndian( bool x )