テンソルフロー::作戦:: Conv2DBackpropInput
#include <nn_ops.h>入力に対する畳み込みの勾配を計算します。
まとめ
引数:
- スコープ:スコープオブジェクト
- input_sizes:
inputの形状を表す整数ベクトル。ここで、input4 次元[batch, height, width, channels]テンソルです。 - フィルター: 形状
[filter_height, filter_width, in_channels, out_channels]4-D。 - 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: 形状[batch, in_height, in_width, in_channels]の 4-D。畳み込みの入力に対する勾配。
コンストラクターとデストラクター | |
|---|---|
Conv2DBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
Conv2DBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropInput::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:: Conv2DBackpropInput:: Attrs | Conv2DBackpropInputのオプションの属性セッター。 |
パブリック属性
手術
Operation operation
出力
::tensorflow::Output output
公共機能
Conv2DBackpropInput
Conv2DBackpropInput( const ::tensorflow::Scope & scope, ::tensorflow::Input input_sizes, ::tensorflow::Input filter, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding )
Conv2DBackpropInput
Conv2DBackpropInput( const ::tensorflow::Scope & scope, ::tensorflow::Input input_sizes, ::tensorflow::Input filter, ::tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const Conv2DBackpropInput::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 )