tensorflow:: ops:: MaxPoolGradGradWithArgmax

#include <nn_ops.h>

最大プーリング関数の2次勾配を計算します。

まとめ

議論:

  • スコープ:スコープオブジェクト
  • 入力:元の入力。
  • grad: 形状が[batch, height, width, channels]の 4 次元。max_pool のmax_poolに対する勾配。
  • argmax: max_poolの各出力に対して選択された最大値のインデックス。
  • ksize: 入力テンソルの各次元に対応するウィンドウのサイズ。
  • ストライド:入力テンソルの各次元におけるスライディングウィンドウのストライド。
  • padding: 使用するパディングアルゴリズムの種類。

オプション属性( Attrs参照):

  • include_batch_in_index: argmaxのフラット化されたインデックスにバッチ ディメンションを含めるかどうか。

返品:

  • Output : max_poolの入力に対する勾配の勾配。

コンストラクターとデストラクタ

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)

公開属性

operation
output

公的機能

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

パブリック静的関数

IncludeBatchInIndex (bool x)

構造

tensorflow:: ops:: MaxPoolGradGradWithArgmax:: Attrs

MaxPoolGradGradWithArgmaxのオプション属性セッター。

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

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
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

IncludeBatchInIndex

Attrs IncludeBatchInIndex(
  bool x
)