# tensorflow::ops::QuantizedMaxPool Class Reference

# tensorflow::ops::QuantizedMaxPool

`#include <nn_ops.h>`

Produces the max pool of the input tensor for quantized types.

## Summary

Arguments:

- scope: A [Scope](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object
- input: The 4D (batch x rows x cols x depth) [Tensor](https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) to MaxReduce over.
- 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.

<br />

Returns:

- `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` output
- `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` min_output: The float value that the lowest quantized output value represents.
- `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` max_output: The float value that the highest quantized output value represents.

<br />

| ### Constructors and Destructors ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-max-pool#classtensorflow_1_1ops_1_1_quantized_max_pool_1a817be0a7d6031a29bfef90a7f6023303(const ::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope & scope, ::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input input, ::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input min_input, ::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input max_input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)` ||

| ### Public attributes ||
|---|---|
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-max-pool#classtensorflow_1_1ops_1_1_quantized_max_pool_1a449b1e9df9edeb0d3e25f5278613d66b` | `::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-max-pool#classtensorflow_1_1ops_1_1_quantized_max_pool_1a27a311ff8aac56151f4ca19baf971c7d` | `::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-max-pool#classtensorflow_1_1ops_1_1_quantized_max_pool_1a1321affccc07bb31594f255110100b82` | `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation` |
| `https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-max-pool#classtensorflow_1_1ops_1_1_quantized_max_pool_1a00495fa3c67e8252fa428cdd47740e3d` | `::https://www.tensorflow.org/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output` |

## Public attributes

### max_output

```
::tensorflow::Output max_output
```

### min_output

```
::tensorflow::Output min_output
```

### operation

```
Operation operation
```

### output

```
::tensorflow::Output output
```

## Public functions

### QuantizedMaxPool

```
 QuantizedMaxPool(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input min_input,
  ::tensorflow::Input max_input,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)
```