tensorflow::ops::MaxPoolGradGrad::Attrs

#include <nn_ops.h>

Optional attribute setters for MaxPoolGradGrad.

Summary

Public attributes

data_format_ = "NHWC"
StringPiece

Public functions

DataFormat(StringPiece x)
TF_MUST_USE_RESULT Attrs
Specify the data format of the input and output data.

Public attributes

data_format_

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

Public functions

DataFormat

TF_MUST_USE_RESULT Attrs tensorflow::ops::MaxPoolGradGrad::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"