Help protect the Great Barrier Reef with TensorFlow on Kaggle Join Challenge

tf.nn.max_pool1d

TensorFlow 1 version View source on GitHub

Performs the max pooling on the input.

Note internally this op reshapes and uses the underlying 2d operation.

input A 3-D Tensor of the format specified by data_format.
ksize An int or list of ints that has length 1 or 3. The size of the window for each dimension of the input tensor.
strides An int or list of ints that has length 1 or 3. The stride of the sliding window for each dimension of the input tensor.
padding A string, either 'VALID' or 'SAME'. The padding algorithm. See the "returns" section of tf.nn.convolution for details.
data_format An optional string from: "NWC", "NCW". Defaults to "NWC".
name A name for the operation (optional).

A Tensor of format specified by data_format. The max pooled output tensor.
{"cc_re__cc_re__cc_by_4_0": [" class=\"alt\">\n<td colspan=\"2\">\nA <code translate=\"no\" dir=\"ltr\">Tensor</code> of format specified by <code translate=\"no\" dir=\"ltr\">data_format</code>.\nThe max pooled output tensor.\n</td>\n</tr></p>\n\n<p></table></p>\n\n    \n\n    \n  </div>\n\n  \n\n  \n    \n    \n      \n    <devsite-thumb-rating position=\"footer\">\n    </devsite-thumb-rating>\n  \n       \n    \n    \n  \n\n  \n  \n</article>\n\n\n<devsite-content-footer class=\"nocontent\">\n  <p>Except as otherwise noted, the content of this page is licensed under the <a href=\"https://creativecommons.org/licenses/by/4.0/\">Creative Commons Attribution 4.0 License</a>, and code samples are licensed under the <a href=\"https://www.apache.org/licenses/LICENSE-2.0\">Apache 2.0 License</a>. For details, see the <a href=\"https://developers.google.com/site-policies?hl=iw\">Google Developers Site Policies</a>. Java is a registered trademark of Oracle and/or its affiliates.</p>\n  <p>Last updated 2020-10-01 UTC.</p>\n</devsite-content-footer>\n\n\n<devsite-notification\n>\n</devsite-notification>\n\n\n  \n<div class=\"devsite-content-dat"]}