نشكرك على متابعة Google I / O. عرض جميع الجلسات عند الطلب مشاهدة عند الطلب

تينسورفلو :: العمليات :: ExtractJpegShape

#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)

الهياكل

tensorflow :: ops :: ExtractJpegShape :: Attrs

محددات السمات الاختيارية لـ ExtractJpegShape .

السمات العامة

شكل_الصورة

::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 :: Input

 operator::tensorflow::Input() const 

المشغل :: Tensorflow :: Output

 operator::tensorflow::Output() const 

وظائف ثابتة عامة

نوع الإخراج

Attrs OutputType(
  DataType x
)