tensorflow::ops::DecodePaddedRaw

#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

หน้าที่สาธารณะ

ถอดรหัสแพดเดดดิบ

 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
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const 

ฟังก์ชันคงที่สาธารณะ

ลิตเติ้ลเอนเดียน

Attrs LittleEndian(
  bool x
)