সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
টেনসরফ্লো :: অপস:: 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 কোণার পিক্সেলের কেন্দ্রগুলি সারিবদ্ধ করা হয়, কোণার পিক্সেলের মানগুলি সংরক্ষণ করে। ডিফল্ট থেকে মিথ্যা.
রিটার্ন:
-
Output
resized_images: 4-D আকার সহ [batch, new_height, new_width, channels]
। -
Output
out_min -
Output
out_max
পাবলিক বৈশিষ্ট্য
পাবলিক ফাংশন
পাবলিক স্ট্যাটিক ফাংশন
সারিবদ্ধ কর্নার
Attrs AlignCorners(
bool x
)
হাফপিক্সেল সেন্টার
Attrs HalfPixelCenters(
bool x
)
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# tensorflow::ops::QuantizedResizeBilinear Class Reference\n\ntensorflow::ops::QuantizedResizeBilinear\n========================================\n\n`#include \u003cimage_ops.h\u003e`\n\nResize quantized `images` to `size` using quantized bilinear interpolation.\n\nSummary\n-------\n\n[Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input) images and output images must be quantized types.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- images: 4-D with shape `[batch, height, width, channels]`.\n- size: = A 1-D int32 [Tensor](/versions/r2.2/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) of 2 elements: `new_height, new_width`. The new size for the images.\n\n\u003cbr /\u003e\n\nOptional attributes (see [Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-resize-bilinear/attrs#structtensorflow_1_1ops_1_1_quantized_resize_bilinear_1_1_attrs)):\n\n- align_corners: If true, the centers of the 4 corner pixels of the input and output tensors are aligned, preserving the values at the corner pixels. Defaults to false.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) resized_images: 4-D with shape `[batch, new_height, new_width, channels]`.\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) out_min\n- [Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) out_max\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedResizeBilinear](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1ac52825879437da0b417099d2bf2bf983)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` images, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` size, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max)` ||\n| [QuantizedResizeBilinear](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1ade5654aab42f16525de546477fc1b18e)`(const ::`[tensorflow::Scope](/versions/r2.2/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` images, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` size, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min, ::`[tensorflow::Input](/versions/r2.2/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max, const `[QuantizedResizeBilinear::Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-resize-bilinear/attrs#structtensorflow_1_1ops_1_1_quantized_resize_bilinear_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1a842279002e4e0db02688d9d7035739a5) | [Operation](/versions/r2.2/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [out_max](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1a0c12681451cf41bdbdd5b4ce3e56276e) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [out_min](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1a2399c247560a6674f68332db798e9e99) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [resized_images](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1a66faf15f60b9da85c98cd2fa1fa87205) | `::`[tensorflow::Output](/versions/r2.2/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public static functions ||\n|------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AlignCorners](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1ab4769256e89a0e80457b29b8fe016d8e)`(bool x)` | [Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-resize-bilinear/attrs#structtensorflow_1_1ops_1_1_quantized_resize_bilinear_1_1_attrs) |\n| [HalfPixelCenters](#classtensorflow_1_1ops_1_1_quantized_resize_bilinear_1ab47609a179b8e020f6dd1dc5c50fe9cd)`(bool x)` | [Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-resize-bilinear/attrs#structtensorflow_1_1ops_1_1_quantized_resize_bilinear_1_1_attrs) |\n\n| ### Structs ||\n|-------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedResizeBilinear::Attrs](/versions/r2.2/api_docs/cc/struct/tensorflow/ops/quantized-resize-bilinear/attrs) | Optional attribute setters for [QuantizedResizeBilinear](/versions/r2.2/api_docs/cc/class/tensorflow/ops/quantized-resize-bilinear#classtensorflow_1_1ops_1_1_quantized_resize_bilinear). |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### out_max\n\n```scdoc\n::tensorflow::Output out_max\n``` \n\n### out_min\n\n```scdoc\n::tensorflow::Output out_min\n``` \n\n### resized_images\n\n```scdoc\n::tensorflow::Output resized_images\n``` \n\nPublic functions\n----------------\n\n### QuantizedResizeBilinear\n\n```gdscript\n QuantizedResizeBilinear(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input images,\n ::tensorflow::Input size,\n ::tensorflow::Input min,\n ::tensorflow::Input max\n)\n``` \n\n### QuantizedResizeBilinear\n\n```gdscript\n QuantizedResizeBilinear(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input images,\n ::tensorflow::Input size,\n ::tensorflow::Input min,\n ::tensorflow::Input max,\n const QuantizedResizeBilinear::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### AlignCorners\n\n```text\nAttrs AlignCorners(\n bool x\n)\n``` \n\n### HalfPixelCenters\n\n```text\nAttrs HalfPixelCenters(\n bool x\n)\n```"]]