tensorflow :: ops :: MaxPool

#include <nn_ops.h>

입력에 대해 최대 풀링을 수행합니다.

요약

인수 :

  • 범위 : 범위 개체
  • 입력 : 풀오버를위한 4D 입력.
  • ksize : 입력 텐서의 각 차원에 대한 창의 크기.
  • strides : 입력 텐서의 각 차원에 대한 슬라이딩 윈도우의 보폭입니다.
  • padding : 사용할 채우기 알고리즘의 유형입니다.

선택적 속성 ( Attrs 참조) :

  • data_format : 입력 및 출력 데이터의 데이터 형식을 지정합니다. 기본 형식 "NHWC"를 사용하면 데이터가 [batch, in_height, in_width, in_channels] 순서로 저장됩니다. 또는 형식은 [batch, in_channels, in_height, in_width]의 데이터 저장 순서 인 "NCHW"일 수 있습니다.

보고:

  • 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

 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
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

DataFormat

Attrs DataFormat(
  StringPiece x
)