Tune in to the first Women in ML Symposium this Tuesday, October 19 at 9am PST Register now

tensorflow:: ops:: MaxPool:: Attrs

#include <nn_ops.h>

Optional attribute setters for MaxPool .

Summary

Public attributes

data_format_ = "NHWC"
StringPiece
explicit_paddings_ = {}
gtl::ArraySlice< int >

Public functions

DataFormat (StringPiece x)
TF_MUST_USE_RESULT Attrs
Specify the data format of the input and output data.
ExplicitPaddings (const gtl::ArraySlice< int > & x)
TF_MUST_USE_RESULT Attrs
Defaults to [].

Public attributes

data_format_

StringPiece tensorflow::ops::MaxPool::Attrs::data_format_ = "NHWC"

explicit_paddings_

gtl::ArraySlice< int > tensorflow::ops::MaxPool::Attrs::explicit_paddings_ = {}

Public functions

DataFormat

TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPool::Attrs::DataFormat(
  StringPiece x
)

Specify the data format of the input and output data.

With the default format "NHWC", the data is stored in the order of: [batch, in_height, in_width, in_channels]. Alternatively, the format could be "NCHW", the data storage order of: [batch, in_channels, in_height, in_width].

Defaults to "NHWC"

ExplicitPaddings

TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPool::Attrs::ExplicitPaddings(
  const gtl::ArraySlice< int > & x
)

Defaults to [].