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

تينسورفلو :: العمليات :: ترميزجبيغمتغير الجودة

#include <image_ops.h>

صورة إدخال بتشفير JPEG بجودة الضغط المتوفرة.

ملخص

image هي 3-D uint8 التنسور الشكل [height, width, channels] . quality هي قيمة جودة ضغط int32 jpeg بين 0 و 100.

الحجج:

  • النطاق: كائن النطاق
  • الصور: الصور لضبط. ما لا يقل عن 3-D.
  • الجودة: جودة int للتشفير إليها.

عائدات:

  • Output : 0-D. صورة بتنسيق JPEG.

البنائين والمدمرين

EncodeJpegVariableQuality (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input quality)

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

contents
operation

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

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

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

محتويات

::tensorflow::Output contents

عملية

Operation operation

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

ترميزجبيغمتغير الجودة

 EncodeJpegVariableQuality(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input quality
)

العقدة

::tensorflow::Node * node() const 

المشغل :: tensorflow :: الإدخال

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const