টেনসরফ্লো :: অপস:: QuantizedResizeBilinear
#include <image_ops.h> কোয়ান্টাইজড বাইলিনিয়ার ইন্টারপোলেশন ব্যবহার করে কোয়ান্টাইজড images size পরিবর্তন করুন।
সারাংশ
ইনপুট ইমেজ এবং আউটপুট ইমেজ কোয়ান্টাইজড ধরনের হতে হবে।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- ছবি: আকৃতি সহ 4-ডি
[batch, height, width, channels]। - আকার: = A 1-D int32 2 উপাদানের টেনসর :
new_height, new_width. ছবির জন্য নতুন আকার.
ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):
- align_corners: সত্য হলে, ইনপুট এবং আউটপুট টেনসরের 4 কোণার পিক্সেলের কেন্দ্রগুলি সারিবদ্ধ করা হয়, কোণার পিক্সেলের মানগুলি সংরক্ষণ করে। ডিফল্ট থেকে মিথ্যা.
রিটার্ন:
-
Outputresized_images: 4-D আকার সহ[batch, new_height, new_width, channels]। -
Outputout_min -
Outputout_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
আউট_সর্বোচ্চ
::tensorflow::Output out_max
আউট_মিন
::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 )
পাবলিক স্ট্যাটিক ফাংশন
সারিবদ্ধ কর্নার
Attrs AlignCorners( bool x )
হাফপিক্সেল সেন্টার
Attrs HalfPixelCenters( bool x )