เทนเซอร์โฟลว์:: ปฏิบัติการ:: แยก JPEGShape
#include <image_ops.h>แยกข้อมูลรูปร่างของรูปภาพที่เข้ารหัส JPEG
สรุป
การดำเนินการนี้จะแยกวิเคราะห์ส่วนหัวของรูปภาพเท่านั้น ดังนั้นจึงเร็วกว่า DecodeJpeg มาก
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- เนื้อหา: 0-D รูปภาพที่เข้ารหัส JPEG
แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
- output_type: (ไม่บังคับ) ประเภทเอาต์พุตของการดำเนินการ (int32 หรือ int64) ค่าเริ่มต้นเป็น int32
ผลตอบแทน:
-
Output: 1-D รูปร่างของภาพด้วยรูปแบบ [ความสูง ความกว้าง ช่อง]
ตัวสร้างและผู้ทำลาย | |
|---|---|
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) | |
โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์:: ops:: ExtractJpegShape:: Attrs | ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ ExtractJpegShape |
คุณลักษณะสาธารณะ
รูปภาพ_รูปร่าง
::tensorflow::Output image_shape
การดำเนินการ
Operation operation
งานสาธารณะ
แยก JPEGShape
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents )
แยก JPEGShape
ExtractJpegShape( const ::tensorflow::Scope & scope, ::tensorflow::Input contents, const ExtractJpegShape::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
ประเภทเอาต์พุต
Attrs OutputType( DataType x )