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

#include <nn_ops.h>

入力に対する深さ方向の畳み込みの勾配を計算します。

まとめ

引数:

  • スコープ:スコープオブジェクト
  • input_sizes: data_formatに基づいて、 inputの形状を表す整数ベクトル。たとえば、 data_formatが 'NHWC' の場合、 input 4 次元[batch, height, width, channels]テンソルになります。
  • filter: 形状[filter_height, filter_width, in_channels, depthwise_multiplier]の 4-D。
  • 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 : data_formatに従った形状の 4-D。たとえば、 data_formatが 'NHWC' の場合、出力形状は[batch, in_height, in_width, in_channels]になります。畳み込みの入力に対する勾配。

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

DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropInput::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:: DepthwiseConv2dNativeBackpropInput:: Attrs

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

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

DepthwiseConv2dNativeBackpropInput

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