تينسورفلو :: العمليات :: ResizeBicubic
#include <image_ops.h>
تغيير حجم images
إلى size
باستخدام الاستيفاء التكعيبي.
ملخص
يمكن أن تكون الصور المدخلة من أنواع مختلفة ولكن صور الإخراج دائمًا ما تكون عائمة.
الحجج:
- النطاق: كائن النطاق
- الصور: 4-D بالشكل
[batch, height, width, channels]
. - الحجم: = A 1-D int32 موتر من عنصرين:
new_height, new_width
. الحجم الجديد للصور.
السمات الاختيارية (انظر Attrs
):
- align_corners: إذا كان هذا صحيحًا ، فستتم محاذاة مراكز بكسلات الزوايا الأربع لموترات الإدخال والإخراج ، مع الاحتفاظ بالقيم في وحدات البكسل الزاوية. افتراضات على خطأ.
عائدات:
-
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 :: ResizeBicubic :: Attrs | محددات السمات الاختيارية لـ ResizeBicubic . |
السمات العامة
عملية
Operation operation
تغيير حجم الصور
::tensorflow::Output resized_images
الوظائف العامة
ResizeBicubic
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
ResizeBicubic
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBicubic::Attrs & attrs )
العقدة
::tensorflow::Node * node() const
عامل التشغيل :: Tensorflow :: Input
operator::tensorflow::Input() const
المشغل :: Tensorflow :: Output
operator::tensorflow::Output() const
وظائف ثابتة عامة
محاذاة الزوايا
Attrs AlignCorners( bool x )
HalfPixelCenters
Attrs HalfPixelCenters( bool x )
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2022-08-30 (حسب التوقيت العالمي المتفَّق عليه)
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"الخطوات معقدة للغاية / كثيرة جدًا."
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"المحتوى قديم."
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"ثمة مشكلة في الترجمة."
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشكلة في العيّنات / التعليمات البرمجية"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غير ذلك"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"يسهُل فهم المحتوى."
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"ساعَدني المحتوى في حلّ مشكلتي."
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غير ذلك"
}]