tensorflow :: ops :: MaxPoolGradV2
#include <nn_ops.h>
maxpooling関数の勾配を計算します。
概要
引数:
- スコープ:スコープオブジェクト
- orig_input:元の入力テンソル。
- orig_output:元の出力テンソル。
- 卒業生:4-D。
max_pool
の出力に対するmax_pool
。 - ksize:入力テンソルの各次元のウィンドウのサイズ。
- ストライド:入力テンソルの各次元のスライディングウィンドウのストライド。
- パディング:使用するパディングアルゴリズムのタイプ。
オプションの属性(参照Attrs
):
- data_format:入力データと出力データのデータ形式を指定します。デフォルトの形式「NHWC」では、データは[batch、in_height、in_width、in_channels]の順序で保存されます。または、形式を「NCHW」、データの保存順序を[batch、in_channels、in_height、in_width]にすることもできます。
戻り値:
-
Output
:max_pool
への入力のグラデーション。
コンストラクタとデストラクタ | |
---|---|
MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding) | |
MaxPoolGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input orig_input, :: tensorflow::Input orig_output, :: tensorflow::Input grad, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolGradV2::Attrs & attrs) |
パブリック属性 | |
---|---|
operation | |
output |
公の行事 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
パブリック静的関数 | |
---|---|
DataFormat (StringPiece x) |
構造体 | |
---|---|
tensorflow :: ops :: MaxPoolGradV2 :: Attrs | MaxPoolGradV2のオプションの属性セッター。 |
パブリック属性
操作
Operation operation
出力
::tensorflow::Output output
公の行事
MaxPoolGradV2
MaxPoolGradV2( const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input, ::tensorflow::Input orig_output, ::tensorflow::Input grad, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding )
MaxPoolGradV2
MaxPoolGradV2( const ::tensorflow::Scope & scope, ::tensorflow::Input orig_input, ::tensorflow::Input orig_output, ::tensorflow::Input grad, ::tensorflow::Input ksize, ::tensorflow::Input strides, StringPiece padding, const MaxPoolGradV2::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 )