tensorflow:: אופס:: שינוי גודלBilinear

#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 : 4-D עם צורה [batch, new_height, new_width, channels] .

בנאים והורסים

ResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size)
ResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBilinear::Attrs & attrs)

תכונות ציבוריות

operation
resized_images

תפקידים ציבוריים

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

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

AlignCorners (bool x)
HalfPixelCenters (bool x)

מבנים

tensorflow:: ops:: שינוי גודלBilinear:: Attrs

קובעי תכונות אופציונליים עבור ResizeBilinear .

תכונות ציבוריות

מבצע

Operation operation

resized_images

::tensorflow::Output resized_images

תפקידים ציבוריים

שינוי גודלBilinear

 ResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size
)

שינוי גודלBilinear

 ResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  const ResizeBilinear::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

מפעיל::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

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

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)