tensorflow:: ops:: MaxPoolV2

#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 :最大プール出力テンソル。

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

MaxPoolV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding)
MaxPoolV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input ksize, :: tensorflow::Input strides, StringPiece padding, const MaxPoolV2::Attrs & attrs)

公開属性

operation
output

公的機能

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

パブリック静的関数

DataFormat (StringPiece x)

構造

tensorflow:: ops:: MaxPoolV2:: Attrs

MaxPoolV2のオプション属性設定子。

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

マックスプールV2

 MaxPoolV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding
)

マックスプールV2

 MaxPoolV2(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input ksize,
  ::tensorflow::Input strides,
  StringPiece padding,
  const MaxPoolV2::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

データフォーマット

Attrs DataFormat(
  StringPiece x
)