tensorflow::ops::QuantizedResizeBilinear

#include <image_ops.h>

قم بتغيير حجم images الكمية إلى size باستخدام الاستيفاء الثنائي الخطي الكمي.

ملخص

يجب أن تكون الصور المدخلة والصور المخرجة من الأنواع الكمية.

الحجج:

  • النطاق: كائن النطاق
  • الصور: رباعية الأبعاد مع شكل [batch, height, width, channels] .
  • الحجم: = موتر أحادي البعد من نوع int32 مكون من عنصرين: new_height, new_width . الحجم الجديد للصور.

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

  • align_corners: إذا كانت القيمة صحيحة، فسيتم محاذاة مراكز البكسلات الأربعة في زوايا موترات الإدخال والإخراج، مع الحفاظ على القيم عند بكسلات الزوايا. القيمة الافتراضية هي خطأ.

المرتجعات:

  • Output resized_images: 4-D with shape [batch, new_height, new_width, channels] .
  • Output out_min
  • Output الأقصى

البناة والمدمرون

QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max)
QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max, const QuantizedResizeBilinear::Attrs & attrs)

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

operation
out_max
out_min
resized_images

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

AlignCorners (bool x)
HalfPixelCenters (bool x)

الهياكل

tensorflow:: ops:: QuantizedResizeBilinear:: Attrs

مُعدِّلات السمات الاختيارية لـ QuantizedResizeBilinear .

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

عملية

Operation operation

الحد الأقصى للإخراج

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

الصور المُعاد تحجيمها

::tensorflow::Output resized_images

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

تغيير الحجم الكمي ثنائي الخطية

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

تغيير الحجم الكمي ثنائي الخطية

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const QuantizedResizeBilinear::Attrs & attrs
)

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

محاذاة الزوايا

Attrs AlignCorners(
  bool x
)

مراكز نصف البكسل

Attrs HalfPixelCenters(
  bool x
)