tensorflow::ops::MaxPoolGradGradWithArgmax

#include <nn_ops.h>

Computes second-order gradients of the maxpooling function.

Summary

Arguments:

  • 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.

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)

Public attributes

operation
output

Public functions

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

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
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const