텐서플로우:: ops:: 맥스풀

#include <nn_ops.h>

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

요약

논거:

  • 범위: Scope 객체
  • 입력: 풀링할 4차원 입력.
  • ksize: 입력 텐서의 각 차원에 대한 윈도우 크기입니다.
  • strides: 입력 텐서의 각 차원에 대한 슬라이딩 윈도우의 스트라이드입니다.
  • padding: 사용할 패딩 알고리즘 유형입니다.

선택적 속성( Attrs 참조):

  • data_format: 입력 및 출력 데이터의 형식을 지정합니다. 기본 형식인 "NHWC"의 경우 데이터는 [배치, 높이, 너비, 채널] 순서로 저장됩니다. 또는 형식을 "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)

구조

텐서플로우:: 연산:: 맥스풀:: 속성

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 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const 

공개 정적 함수

데이터 형식

Attrs DataFormat(
  StringPiece x
)