tf.raw_ops.QuantizedAvgPool
    
    
      
    
    
      
      Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
      
    
  
  
  
  
  
    
  
  
    
    
Produces the average pool of the input tensor for quantized types.
tf.raw_ops.QuantizedAvgPool(
    input, min_input, max_input, ksize, strides, padding, name=None
)
| Args | 
|---|
| input | A Tensor. Must be one of the following types:qint8,quint8,qint32,qint16,quint16.
4-D with shape[batch, height, width, channels]. | 
| min_input | A Tensorof typefloat32.
The float value that the lowest quantized input value represents. | 
| max_input | A Tensorof typefloat32.
The float value that the highest quantized input value represents. | 
| ksize | A list of ints.
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 | A list of ints.
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 | A stringfrom:"SAME", "VALID".
The type of padding algorithm to use. | 
| name | A name for the operation (optional). | 
| Returns | 
|---|
| A tuple of Tensorobjects (output, min_output, max_output). | 
| output | A Tensor. Has the same type asinput. | 
| min_output | A Tensorof typefloat32. | 
| max_output | A Tensorof typefloat32. | 
  
  
 
  
    
    
      
       
    
    
  
  
  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 2024-04-26 UTC.
  
  
  
    
      [null,null,["Last updated 2024-04-26 UTC."],[],[]]