テンソルフロー::作戦::マックスプール

#include <nn_ops.h>

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

まとめ

引数:

  • スコープ:スコープオブジェクト
  • input: プールする 4-D 入力。
  • ksize: 入力テンソルの各次元のウィンドウのサイズ。
  • strides: 入力テンソルの各次元のスライディング ウィンドウのストライド。
  • 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 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

データ形式

Attrs DataFormat(
  StringPiece x
)