tensorflow:: ops:: AvgPool
#include <nn_ops.h>入力に対して平均プーリングを実行します。
まとめ
outputの各エントリは、対応するサイズksizeウィンドウのvalueの平均値です。
議論:
- スコープ:スコープオブジェクト
- 値: 形状
[batch, height, width, channels]の 4 次元。 - ksize: 各次元の
valueに対するスライディングウィンドウのサイズ。 - ストライド:
valueの各次元に対するスライディングウィンドウのストライド。 - padding: 使用するパディングアルゴリズムの種類。
オプション属性( Attrs参照):
- data_format: 入力データと出力データのデータ形式を指定します。デフォルトの形式「NHWC」では、データは[batch、in_height、in_width、in_channels]の順で格納されます。あるいは、形式を「NCHW」に指定することもできます。この場合、データの格納順序は[batch、in_channels、in_height、in_width]となります。
返品:
-
Output:プールされた出力テンソルの平均値。
コンストラクターとデストラクタ | |
|---|---|
AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
AvgPool (const :: tensorflow::Scope & scope, :: tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
output | |
公的機能 | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
パブリック静的関数 | |
|---|---|
DataFormat (StringPiece x) | |
構造 | |
|---|---|
| tensorflow:: ops:: AvgPool:: Attrs | AvgPoolのオプション属性セッター。 |
公開属性
手術
Operation operation
出力
::tensorflow::Output output
公的機能
平均プール
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding )
平均プール
AvgPool( const ::tensorflow::Scope & scope, ::tensorflow::Input value, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const AvgPool::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
パブリック静的関数
データフォーマット
Attrs DataFormat( StringPiece x )