#include <nn_ops.h>
Optional attribute setters for BiasAddGrad.
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. |
StringPiece tensorflow::ops::BiasAddGrad::Attrs::data_format_ = "NHWC"
TF_MUST_USE_RESULT Attrs tensorflow::ops::BiasAddGrad::Attrs::DataFormat( StringPiece x )
Specify the data format of the input and output data.
With the default format "NHWC", the bias tensor will be added to the last dimension of the value tensor. Alternatively, the format could be "NCHW", the data storage order of: [batch, in_channels, in_height, in_width]. The tensor will be added to "in_channels", the third-to-the-last dimension.
Defaults to "NHWC"
© 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/struct/tensorflow/ops/bias-add-grad/attrs.html