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

#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] .

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

ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size)
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBicubic::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:: שינוי גודלBicubic:: Attrs

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

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

מבצע

Operation operation

resized_images

::tensorflow::Output resized_images

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

שינוי גודלBicubic

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

שינוי גודלBicubic

 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  const ResizeBicubic::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
)