تدفق التوتر:: العمليات:: ExtractJpegShape

#include <image_ops.h>

قم باستخراج معلومات الشكل الخاصة بالصورة المشفرة بصيغة JPEG.

ملخص

تقوم هذه العملية بتحليل رأس الصورة فقط، لذا فهي أسرع بكثير من DecodeJpeg .

الحجج:

  • النطاق: كائن النطاق
  • المحتويات: 0-د. الصورة المشفرة بـ 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 .

الصفات العامة

image_shape

::tensorflow::Output image_shape

عملية

Operation operation

الوظائف العامة

ExtractJpegShape

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

ExtractJpegShape

 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
)