Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QuantizedAvgPool
#include <nn_ops.h>
Produces the average pool of the input tensor for quantized types.
Summary
Args:
- scope: A Scope object
- input: 4-D with shape
[batch, height, width, channels]
.
- min_input: The float value that the lowest quantized input value represents.
- max_input: The float value that the highest quantized input value represents.
- 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.
- 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.
- padding: The type of padding algorithm to use.
Returns:
Output
output
Output
min_output: The float value that the lowest quantized output value represents.
Output
max_output: The float value that the highest quantized output value represents.
Public attributes
Public functions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2021-11-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-15 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\nArgs:\n\n- scope: A [Scope](/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](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) output\n- [Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_output: The float value that the lowest quantized output value represents.\n- [Output](/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](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` input, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_input, ::`[tensorflow::Input](/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](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_output](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a6724f4314e0b43a958cf6b78bd096510) | `::`[tensorflow::Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a49a59391821a67d191168d947cd36055) | [Operation](/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [output](#classtensorflow_1_1ops_1_1_quantized_avg_pool_1a117cc564ad5019e8659a3a3714cb3411) | `::`[tensorflow::Output](/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```"]]