コレクションでコンテンツを整理 必要に応じて、コンテンツの保存と分類を行います。

tensorflow :: ops :: 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。畳み込みの出力に対する勾配。
  • ストライド:畳み込みの入力の各次元のスライディングウィンドウのストライド。 formatで指定されたディメンションと同じ順序である必要があります。
  • パディング:使用するパディングアルゴリズムのタイプ。

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

  • 明示的なpaddingpadding"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]にすることもできます。
  • 膨張:長さ4の1-Dテンソル。 input各次元の膨張係数。 k> 1に設定すると、その次元の各フィルター要素間にk-1個のスキップされたセルがあります。次元の順序は、 data_formatの値によって決定されます。詳細については、上記を参照してください。バッチおよび深さ寸法の膨張は1でなければなりません。

戻り値:

  • Output :形状[filter_height, filter_width, in_channels, out_channels] 。畳み込みの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 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Output

 operator::tensorflow::Output() const 

パブリック静的関数

DataFormat

Attrs DataFormat(
  StringPiece x
)

膨張

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

ExplicitPaddings

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

UseCudnnOnGpu

Attrs UseCudnnOnGpu(
  bool x
)