tensorflow:: ops:: MaxPool

#include <nn_ops.h>

入力に対して最大プーリングを実行します。

まとめ

議論:

  • スコープ:スコープオブジェクト
  • 入力:プーリング対象となる4次元入力。
  • ksize: 入力テンソルの各次元に対応するウィンドウのサイズ。
  • ストライド:入力テンソルの各次元におけるスライディングウィンドウのストライド。
  • padding: 使用するパディングアルゴリズムの種類。

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

  • data_format: 入力データと出力データのデータ形式を指定します。デフォルトの形式「NHWC」では、データは[batch、in_height、in_width、in_channels]の順で格納されます。あるいは、形式を「NCHW」に指定することもできます。この場合、データの格納順序は[batch、in_channels、in_height、in_width]となります。

返品:

  • Output :最大プール出力テンソル。

コンストラクターとデストラクタ

MaxPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding)
MaxPool (const :: tensorflow::Scope & scope, :: tensorflow::Input input, const gtl::ArraySlice< int > & ksize, const gtl::ArraySlice< int > & strides, StringPiece padding, const MaxPool::Attrs & attrs)

公開属性

operation
output

公的機能

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

パブリック静的関数

DataFormat (StringPiece x)

構造

tensorflow:: ops:: MaxPool:: Attrs

MaxPoolのオプション属性セッター。

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

マックスプール

 MaxPool(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

マックスプール

 MaxPool(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const MaxPool::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

データフォーマット

Attrs DataFormat(
  StringPiece x
)