tensorflow:: ops:: QuantizedResizeBilinar

#include <image_ops.h>

שינוי size images קוונטיות באמצעות אינטרפולציה דו-לינארית קוונטית.

תַקצִיר

תמונות קלט ותמונות פלט חייבות להיות מסוגים כמותיים.

טיעונים:

  • היקף: אובייקט היקף
  • תמונות: 4-D עם צורה [batch, height, width, channels] .
  • size: = טנזור int32 חד-ממדי של 2 אלמנטים: new_height, new_width . הגודל החדש עבור התמונות.

מאפיינים אופציונליים (ראה Attrs ):

  • align_corners: אם true, מרכזי 4 הפיקסלים בפינות של טנזורי הקלט והפלט מיושרים, תוך שמירה על הערכים בפיקסלים בפינות. ברירת המחדל היא false.

החזרות:

  • Output תמונות בגודל שינוי: 4-ממדיות עם צורה [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:: QuantizedResizeBilinar:: Attrs

קובעי מאפיינים אופציונליים עבור QuantizedResizeBilinear .

מאפיינים ציבוריים

מִבצָע

Operation operation

מקסימום

::tensorflow::Output out_max

דקות

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