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
)