tensorflow::
ops::
AvgPool3DGrad
#include <nn_ops.h>
Computes gradients of average pooling function.
Summary
Args:
- scope: A Scope object
- orig_input_shape: The original input dimensions.
-
grad:
Output
backprop of shape
[batch, depth, rows, cols, channels]
. -
ksize: 1-D tensor of length 5. The size of the window for each dimension of the input tensor. Must have
ksize[0] = ksize[4] = 1
. -
strides: 1-D tensor of length 5. The stride of the sliding window for each dimension of
input
. Must havestrides[0] = strides[4] = 1
. - padding: The type of padding algorithm to use.
Optional attributes (see
Attrs
):
- data_format: 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].
Returns:
-
Output
: The backprop for input.
Constructors and Destructors |
|
---|---|
AvgPool3DGrad
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
orig_input_shape, ::
tensorflow::Input
grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
|
|
AvgPool3DGrad
(const ::
tensorflow::Scope
& scope, ::
tensorflow::Input
orig_input_shape, ::
tensorflow::Input
grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const
AvgPool3DGrad::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 AvgPool3DGrad . |
Public attributes
Public functions
AvgPool3DGrad
AvgPool3DGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input_shape, ::tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
AvgPool3DGrad
AvgPool3DGrad( const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input_shape, ::tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool3DGrad::Attrs & attrs )
node
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const