संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
टेंसरफ़्लो:: ऑप्स:: क्वांटाइज़्डएवीजीपूल
#include <nn_ops.h>
परिमाणित प्रकारों के लिए इनपुट टेंसर का औसत पूल तैयार करता है।
सारांश
तर्क:
- स्कोप: एक स्कोप ऑब्जेक्ट
- इनपुट: आकार के साथ 4-डी
[batch, height, width, channels]
। - min_input: फ़्लोट मान जो सबसे कम परिमाणित इनपुट मान दर्शाता है।
- max_input: फ़्लोट मान जो उच्चतम परिमाणित इनपुट मान दर्शाता है।
- ksize: इनपुट टेंसर के प्रत्येक आयाम के लिए विंडो का आकार। इनपुट के आयामों की संख्या से मेल खाने के लिए लंबाई 4 होनी चाहिए।
- स्ट्राइड्स: इनपुट टेंसर के प्रत्येक आयाम के लिए स्लाइडिंग विंडो का स्ट्राइड। इनपुट के आयामों की संख्या से मेल खाने के लिए लंबाई 4 होनी चाहिए।
- पैडिंग: उपयोग करने के लिए पैडिंग एल्गोरिदम का प्रकार।
रिटर्न:
-
Output
आउटपुट -
Output
min_output: फ़्लोट मान जो सबसे कम परिमाणित आउटपुट मान दर्शाता है। -
Output
max_output: फ़्लोट मान जो उच्चतम परिमाणित आउटपुट मान दर्शाता है।
सार्वजनिक गुण
सार्वजनिक समारोह
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[],[],null,["# tensorflow::ops::QuantizedAvgPool Class Reference\n\ntensorflow::ops::QuantizedAvgPool\n=================================\n\n`#include \u003cnn_ops.h\u003e`\n\nProduces the average pool of the input tensor for quantized types.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- input: 4-D with shape `[batch, height, width, channels]`.\n- min_input: The float value that the lowest quantized input value represents.\n- max_input: The float value that the highest quantized input value represents.\n- ksize: The size of the window for each dimension of the input tensor. The length must be 4 to match the number of dimensions of the input.\n- strides: The stride of the sliding window for each dimension of the input tensor. The length must be 4 to match the number of dimensions of the input.\n- padding: The type of padding algorithm to use.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_output: The float value that the lowest quantized output value represents.\n- [Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) max_output: The float value that the highest quantized output value represents.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedAvgPool](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a0823ca0ce083dff45fb61cbe18b80e5e)`(const ::`[tensorflow::Scope](/versions/r2.1/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_input, ::`[tensorflow::Input](/versions/r2.1/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_input, const gtl::ArraySlice\u003c int \u003e & ksize, const gtl::ArraySlice\u003c int \u003e & strides, StringPiece padding)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [max_output](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a10d8a56c7b4c34bbe566ca787e2ebc87) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_output](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a6724f4314e0b43a958cf6b78bd096510) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a49a59391821a67d191168d947cd36055) | [Operation](/versions/r2.1/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a117cc564ad5019e8659a3a3714cb3411) | `::`[tensorflow::Output](/versions/r2.1/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### max_output\n\n```scdoc\n::tensorflow::Output max_output\n``` \n\n### min_output\n\n```scdoc\n::tensorflow::Output min_output\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\n### output\n\n```text\n::tensorflow::Output output\n``` \n\nPublic functions\n----------------\n\n### QuantizedAvgPool\n\n```gdscript\n QuantizedAvgPool(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input input,\n ::tensorflow::Input min_input,\n ::tensorflow::Input max_input,\n const gtl::ArraySlice\u003c int \u003e & ksize,\n const gtl::ArraySlice\u003c int \u003e & strides,\n StringPiece padding\n)\n```"]]