テンソルフロー::作戦::平均プール
#include <nn_ops.h>入力に対して平均プーリングを実行します。
まとめ
outputの各エントリは、 valueの対応するサイズksizeウィンドウの平均です。
引数:
- スコープ:スコープオブジェクト
- 値: 形状
[batch, height, width, channels]の 4-D。 - ksize:
valueの各次元のスライディング ウィンドウのサイズ。 - strides:
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
演算子::tensorflow::入力
operator::tensorflow::Input() const
演算子::tensorflow::出力
operator::tensorflow::Output() const
パブリック静的関数
データ形式
Attrs DataFormat( StringPiece x )