tensorflow::ops::AvgPool3DGrad::Attrs
#include <nn_ops.h>
Optional attribute setters for AvgPool3DGrad.
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::AvgPool3DGrad::Attrs::data_format_ = "NDHWC"
Public functions
DataFormat
TF_MUST_USE_RESULT Attrs tensorflow::ops::AvgPool3DGrad::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"
© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/struct/tensorflow/ops/avg-pool3-d-grad/attrs