tensorflow:: ops:: MaxPoolGradGradWithArgmax

#include <nn_ops.h>

Computes second-order gradients of the maxpooling function.

Summary

Args:

  • scope: A Scope object
  • input: The original input.
  • grad: 4-D with shape [batch, height, width, channels] . Gradients w.r.t. the input of max_pool .
  • argmax: The indices of the maximum values chosen for each output 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 ):

  • include_batch_in_index: Whether to include batch dimension in flattened index of argmax .

Returns:

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

Constructors and Destructors

MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
MaxPoolGradGradWithArgmax (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input grad, :: tensorflow::Input argmax, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPoolGradGradWithArgmax::Attrs & attrs)

Public attributes

operation
output

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public static functions

IncludeBatchInIndex (bool x)

Structs

tensorflow:: ops:: MaxPoolGradGradWithArgmax:: Attrs

Optional attribute setters for MaxPoolGradGradWithArgmax .

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

MaxPoolGradGradWithArgmax

 MaxPoolGradGradWithArgmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input grad,
  ::tensorflow::Input argmax,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

MaxPoolGradGradWithArgmax

 MaxPoolGradGradWithArgmax(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input grad,
  ::tensorflow::Input argmax,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPoolGradGradWithArgmax::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Public static functions

IncludeBatchInIndex

Attrs IncludeBatchInIndex(
  bool x
)