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

#include <nn_ops.h>

フィルターに関する畳み込みの勾配を計算します。

まとめ

引数:

  • スコープ:スコープオブジェクト
  • 入力: 形状[batch, in_height, in_width, in_channels]の 4-D。
  • filter_sizes: filterのテンソル形状を表す整数ベクトル。 ここで、 filterは 4 次元[filter_height, filter_width, in_channels, out_channels]テンソルです。
  • out_backprop: 形状[batch, out_height, out_width, out_channels]の 4-D。勾配は畳​​み込みの出力に反映されます。
  • strides: 畳み込みの入力の各次元のスライディング ウィンドウのストライド。 format で指定した次元と同じ順序である必要があります。
  • padding: 使用するパディング アルゴリズムのタイプ。

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

  • 明示的パディング: padding"EXPLICIT"の場合、明示的なパディング量のリスト。 i 番目の次元の場合、次元の前後に挿入されるパディングの量は、それぞれexplicit_paddings[2 * i]explicit_paddings[2 * i + 1]です。 padding "EXPLICIT"でない場合、 explicit_paddings空でなければなりません。
  • data_format: 入出力データのデータ形式を指定します。デフォルトの形式「NHWC」では、[batch, in_height, in_width, in_channels] の順にデータが格納されます。あるいは、形式を「NCHW」、つまりデータ保存順序を [batch、in_channels、in_height、in_width] にすることもできます。
  • dilations: 長さ 4 の 1 次元テンソル。 inputの各次元の膨張係数。 k > 1 に設定すると、その次元の各フィルター要素間に k-1 個のスキップされたセルが存在します。ディメンションの順序はdata_formatの値によって決まります。詳細については上記を参照してください。バッチ内の膨張と深さの寸法は 1 である必要があります。

戻り値:

  • Output : 形状[filter_height, filter_width, in_channels, out_channels]の 4-D。畳み込みのfilter入力に対する勾配。

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

Conv2DBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
Conv2DBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropFilter::Attrs & attrs)

パブリック属性

operation
output

公共機能

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

パブリック静的関数

DataFormat (StringPiece x)
Dilations (const gtl::ArraySlice< int > & x)
ExplicitPaddings (const gtl::ArraySlice< int > & x)
UseCudnnOnGpu (bool x)

構造体

tensorflow:: ops:: Conv2DBackpropFilter:: Attrs

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

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

Conv2DBackpropFilter

 Conv2DBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

Conv2DBackpropFilter

 Conv2DBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const Conv2DBackpropFilter::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

データ形式

Attrs DataFormat(
  StringPiece x
)

拡張

Attrs Dilations(
  const gtl::ArraySlice< int > & x
)

明示的なパディング

Attrs ExplicitPaddings(
  const gtl::ArraySlice< int > & x
)

CudnnOnGPU を使用する

Attrs UseCudnnOnGpu(
  bool x
)