tensorflow:: ops:: MaxPool

#include <nn_ops.h>

Wykonuje maksymalne grupowanie na wejściu.

Streszczenie

Argumenty:

  • zakres: obiekt zakresu
  • wejście: wejście 4-D do przekazania.
  • ksize: Rozmiar okna dla każdego wymiaru tensora wejściowego.
  • kroki: Krok przesuwanego okna dla każdego wymiaru tensora wejściowego.
  • padding: Typ algorytmu wypełniania, który ma zostać użyty.

Atrybuty opcjonalne (patrz Attrs ):

  • format_danych: Określ format danych wejściowych i wyjściowych. W domyślnym formacie „NHWC” dane są przechowywane w kolejności: [partia, wysokość_in, szerokość_in, kanały_in]. Alternatywnie, format może być „NCHW”, czyli w kolejności przechowywania danych: [partia, kanały_in, wysokość_in, szerokość_in].

Zwroty:

  • Output : Maksymalny zbiorczy tensor wyjściowy.

Konstruktory i destruktory

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)

Atrybuty publiczne

operation
output

Funkcje publiczne

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

Publiczne funkcje statyczne

DataFormat (StringPiece x)

Struktury

tensorflow:: ops:: MaxPool:: Attrs

Opcjonalne settery atrybutów dla MaxPool .

Atrybuty publiczne

działanie

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

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
)

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Format danych

Attrs DataFormat(
  StringPiece x
)