tensorflow:: ops:: BiasAddGrad
#include <nn_ops.h>
The backward operation for "BiasAdd" on the "bias" tensor.
Summary
It accumulates all the values from out_backprop into the feature dimension. For NHWC data format, the feature dimension is the last. For NCHW data format, the feature dimension is the third-to-last.
Arguments:
Optional attributes (see Attrs
):
- data_format: 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.
Returns:
Output
: 1-D with size the feature dimension ofout_backprop
.
Constructors and Destructors |
|
---|---|
BiasAddGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input out_backprop)
|
|
BiasAddGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input out_backprop, const BiasAddGrad::Attrs & attrs)
|
Public attributes |
|
---|---|
operation
|
|
output
|
Public functions |
|
---|---|
node() const
|
::tensorflow::Node *
|
operator::tensorflow::Input() const
|
|
operator::tensorflow::Output() const
|
|
Public static functions |
|
---|---|
DataFormat(StringPiece x)
|
Structs |
|
---|---|
tensorflow:: |
Optional attribute setters for BiasAddGrad. |
Public attributes
operation
Operation operation
output
::tensorflow::Output output
Public functions
BiasAddGrad
BiasAddGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input out_backprop )
BiasAddGrad
BiasAddGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input out_backprop, const BiasAddGrad::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Public static functions
DataFormat
Attrs DataFormat( StringPiece x )