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

#include <nn_ops.h>

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

まとめ

引数:

  • スコープ:スコープオブジェクト
  • 入力: data_formatに基づいた形状の 4-D。たとえば、 data_formatが 'NHWC' の場合、 input 4 次元[batch, in_height, in_width, in_channels]テンソルになります。
  • filter_sizes: filterのテンソル形状を表す整数ベクトル。 ここで、 filterは 4 次元[filter_height, filter_width, in_channels, depthwise_multiplier]テンソルです。
  • out_backprop: data_formatに基づいた形状の 4-D。たとえば、 data_formatが 'NHWC' の場合、 out_backprop の形状は[batch, out_height, out_width, out_channels]になります。勾配は畳​​み込みの出力に反映されます。
  • strides: 畳み込みの入力の各次元のスライディング ウィンドウのストライド。
  • padding: 使用するパディング アルゴリズムのタイプ。

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

  • data_format: 入出力データのデータ形式を指定します。デフォルトの形式「NHWC」では、データは[バッチ、高さ、幅、チャネル]の順序で保存されます。あるいは、形式を「NCHW」、つまり [バッチ、チャネル、高さ、幅] のデータ保存順序にすることもできます。
  • dilations: 長さ 4 の 1 次元テンソル。 inputの各次元の膨張係数。 k > 1 に設定すると、その次元の各フィルター要素間に k-1 個のスキップされたセルが存在します。ディメンションの順序はdata_formatの値によって決まります。詳細については上記を参照してください。バッチ内の膨張と深さの寸法は 1 である必要があります。

戻り値:

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

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

DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::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)

構造体

tensorflow:: ops:: DepthwiseConv2dNativeBackpropFilter:: Attrs

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

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

DepthwiseConv2dNativeBackpropFilter

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

DepthwiseConv2dNativeBackpropFilter

 DepthwiseConv2dNativeBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const DepthwiseConv2dNativeBackpropFilter::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
)