#include <nn_ops.h>
Performs max pooling on the input.
Arguments:
Optional attributes (see Attrs
):
Returns:
Output
: The max pooled output tensor. Constructors and Destructors | |
---|---|
MaxPoolV2(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding) | |
MaxPoolV2(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding, const MaxPoolV2::Attrs & attrs) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
DataFormat(StringPiece x) |
Structs | |
---|---|
tensorflow::ops::MaxPoolV2::Attrs | Optional attribute setters for MaxPoolV2. |
::tensorflow::Output output
MaxPoolV2( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding )
MaxPoolV2( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding, const MaxPoolV2::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs DataFormat( StringPiece x )
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/max-pool-v2.html