tensorflow::ops::MaxPoolGradGradV2

#include <nn_ops.h>

Computes second-order gradients of the maxpooling function.

Summary

Args:

  • scope: A Scope object
  • orig_input: The original input tensor.
  • orig_output: The original output tensor.
  • grad: 4-D. Gradients of gradients w.r.t. the input of max_pool.
  • ksize: The size of the window for each dimension of the input tensor.
  • strides: The stride of the sliding window for each dimension of the input tensor.
  • padding: The type of padding algorithm to use.

Optional attributes (see Attrs):

  • data_format: Specify the data format of the input and output data. With the default format "NHWC", the data is stored in the order of: [batch, in_height, in_width, in_channels]. Alternatively, the format could be "NCHW", the data storage order of: [batch, in_channels, in_height, in_width].

Returns:

  • Output: Gradients of gradients w.r.t. the input to max_pool.

Constructors and Destructors

MaxPoolGradGradV2(const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input, ::tensorflow::Input orig_output, ::tensorflow::Input grad, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding)
MaxPoolGradGradV2(const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input, ::tensorflow::Input orig_output, ::tensorflow::Input grad, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding, const MaxPoolGradGradV2::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::ops::MaxPoolGradGradV2::Attrs

Optional attribute setters for MaxPoolGradGradV2.

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

MaxPoolGradGradV2

 MaxPoolGradGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

MaxPoolGradGradV2

 MaxPoolGradGradV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolGradGradV2::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
)