tensorflow::ops::ExtractJpegShape

#include <image_ops.h>

ดึงข้อมูลรูปร่างจากภาพที่เข้ารหัส JPEG

สรุป

การดำเนินการนี้จะแยกวิเคราะห์เฉพาะส่วนหัวของภาพเท่านั้น ดังนั้นจึงเร็วกว่า DecodeJpeg มาก

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • เนื้อหา: 0-D. ภาพที่เข้ารหัส JPEG

คุณลักษณะเสริม (ดูที่ Attrs ):

  • output_type: (ไม่บังคับ) ประเภทผลลัพธ์ของการดำเนินการ (int32 หรือ int64) ค่าเริ่มต้นคือ int32

การส่งคืนสินค้า:

  • Output : ภาพ 1 มิติ รูปทรงของภาพในรูปแบบ [ความสูง, ความกว้าง, จำนวนช่องสัญญาณ]

ตัวสร้างและตัวทำลาย

ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents)
ExtractJpegShape (const :: tensorflow::Scope & scope, :: tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs)

คุณลักษณะสาธารณะ

image_shape
operation

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

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

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

OutputType (DataType x)

โครงสร้าง

tensorflow::ops::ExtractJpegShape::Attrs

ตัวเลือกการตั้งค่าแอตทริบิวต์เพิ่มเติมสำหรับ ExtractJpegShape

คุณลักษณะสาธารณะ

รูปร่างรูปภาพ

::tensorflow::Output image_shape

การดำเนินการ

Operation operation

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

สกัดรูปทรง JPEG

 ExtractJpegShape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents
)

สกัดรูปทรง JPEG

 ExtractJpegShape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input contents,
  const ExtractJpegShape::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

ประเภทเอาต์พุต

Attrs OutputType(
  DataType x
)