テンソルフロー::作戦:: MaxPool3DGradGrad

#include <nn_ops.h>

maxpooling 関数の 2 次勾配を計算します。

まとめ

引数:

  • スコープ:スコープオブジェクト
  • orig_input: 元の入力テンソル。
  • orig_output: 元の出力テンソル。
  • grad: 形状[batch, depth, rows, cols, channels]の出力逆伝播
  • ksize: 長さ 5 の 1 次元テンソル。入力テンソルの各次元のウィンドウのサイズ。 ksize[0] = ksize[4] = 1でなければなりません。
  • strides: 長さ 5 の 1 次元テンソル。 inputの各次元のスライディング ウィンドウのストライド。 strides[0] = strides[4] = 1でなければなりません。
  • padding: 使用するパディング アルゴリズムのタイプ。

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

  • data_format: 入力データと出力データのデータ形式。デフォルトの形式「NDHWC」では、データは[バッチ、深さ、高さ、幅、チャネル]の順に保存されます。あるいは、形式を「NCDHW」にすることもでき、データの保存順序は [batch、in_channels、in_ Depth、in_height、in_width] になります。

戻り値:

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

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

MaxPool3DGradGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
MaxPool3DGradGrad (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool3DGradGrad::Attrs & attrs)

パブリック属性

operation
output

公共機能

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

パブリック静的関数

DataFormat (StringPiece x)

構造体

tensorflow:: ops:: MaxPool3DGradGrad:: Attrs

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

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

MaxPool3DGradGrad

 MaxPool3DGradGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

MaxPool3DGradGrad

 MaxPool3DGradGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input orig_input,
  ::tensorflow::Input orig_output,
  ::tensorflow::Input grad,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPool3DGradGrad::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

データ形式

Attrs DataFormat(
  StringPiece x
)