aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.nn.max_pool.md
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.nn.max_pool.md')
-rw-r--r--tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.nn.max_pool.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.nn.max_pool.md b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.nn.max_pool.md
new file mode 100644
index 0000000000..f17efa01de
--- /dev/null
+++ b/tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.nn.max_pool.md
@@ -0,0 +1,21 @@
+### `tf.nn.max_pool(value, ksize, strides, padding, data_format='NHWC', name=None)` {#max_pool}
+
+Performs the max pooling on the input.
+
+##### Args:
+
+
+* <b>`value`</b>: A 4-D `Tensor` with shape `[batch, height, width, channels]` and
+ type `tf.float32`.
+* <b>`ksize`</b>: A list of ints that has length >= 4. The size of the window for
+ each dimension of the input tensor.
+* <b>`strides`</b>: A list of ints that has length >= 4. The stride of the sliding
+ window for each dimension of the input tensor.
+* <b>`padding`</b>: A string, either `'VALID'` or `'SAME'`. The padding algorithm.
+* <b>`data_format`</b>: A string. 'NHWC' and 'NCHW' are supported.
+* <b>`name`</b>: Optional name for the operation.
+
+##### Returns:
+
+ A `Tensor` with type `tf.float32`. The max pooled output tensor.
+