TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tensorflow::ops::MaxPool3DGrad::Attrs

#include <nn_ops.h>

Optional attribute setters for MaxPool3DGrad.

Summary

Public attributes

data_format_ = "NDHWC"
StringPiece

Public functions

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

Public attributes

data_format_

StringPiece tensorflow::ops::MaxPool3DGrad::Attrs::data_format_ = "NDHWC"

Public functions

DataFormat

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

The data format of the input and output data.

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

Defaults to "NDHWC"