tensorflow::ops::MaxPool

#include <nn_ops.h>

Melakukan max pooling pada input.

Ringkasan

Argumen:

  • Cakupan: Objek Cakupan
  • input: Input 4-D untuk pool over.
  • ksize: Ukuran jendela untuk setiap dimensi tensor input.
  • strides: Langkah jendela geser untuk setiap dimensi tensor input.
  • padding: Jenis algoritma padding yang akan digunakan.

Atribut opsional (lihat Attrs ):

  • data_format: Tentukan format data input dan output. Dengan format default "NHWC", data disimpan dalam urutan: [batch, in_height, in_width, in_channels]. Atau, formatnya bisa "NCHW", urutan penyimpanan data: [batch, in_channels, in_height, in_width].

Mengembalikan:

  • Output : Tensor output hasil max pooling.

Konstruktor dan Destruktor

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)

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

DataFormat (StringPiece x)

Struktur

tensorflow::ops::MaxPool::Attrs

Pengaturan atribut opsional untuk MaxPool .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

MaxPool

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

MaxPool

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

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Fungsi statis publik

Format Data

Attrs DataFormat(
  StringPiece x
)