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

#include <image_ops.h>

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

ملخص

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

الحجج:

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

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

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

عائدات:

  • تم تغيير حجم Output : 4-D بالشكل [batch, new_height, new_width, channels] .
  • Output out_min
  • Output out_max

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

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

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

resize_images

::tensorflow::Output resized_images

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

QuantizedResizeBilinear

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

QuantizedResizeBilinear

 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
)