tensorflow:: אופס:: QuantizedResizeBilinear

#include <image_ops.h>

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

סיכום

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

טיעונים:

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

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

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

החזרות:

  • Output resized_images: 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

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

פונקציות סטטיות ציבוריות

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)