tensorflow:: ops:: ExtractJpegShape

#include <image_ops.h>

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

ملخص

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

الحجج:

  • النطاق: كائن النطاق
  • المحتويات: 0-D. الصورة المشفرة بصيغة JPEG.

السمات الاختيارية (انظر Attrs ):

  • نوع_الإخراج: (اختياري) نوع إخراج العملية (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

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

استخراج شكل 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

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

نوع الإخراج

Attrs OutputType(
  DataType x
)