텐서플로우:: 연산:: 평균 풀

#include <nn_ops.h>

입력값에 대해 평균 풀링을 수행합니다.

요약

output 의 각 항목은 해당 크기 ksize 윈도우의 value 입니다.

논거:

  • 범위: Scope 객체
  • 값: [batch, height, width, channels] 형태의 4차원.
  • ksize: value 의 각 차원에 대한 슬라이딩 윈도우의 크기입니다.
  • strides: 각 value 차원에 대한 슬라이딩 윈도우의 보폭입니다.
  • padding: 사용할 패딩 알고리즘 유형입니다.

선택적 속성( Attrs 참조):

  • data_format: 입력 및 출력 데이터의 형식을 지정합니다. 기본 형식인 "NHWC"의 경우 데이터는 [배치, 높이, 너비, 채널] 순서로 저장됩니다. 또는 형식을 "NCHW"로 지정할 수도 있으며, 이 경우 데이터는 [배치, 채널, 높이, 너비] 순서로 저장됩니다.

보고:

  • Output : 평균 풀링된 출력 텐서.

생성자와 소멸자

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

공개 속성

operation
output

공공 기능

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

공개 정적 함수

DataFormat (StringPiece x)

구조

텐서플로우:: 연산:: 평균 풀:: 속성

AvgPool 에 대한 선택적 속성 설정기입니다.

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

평균 풀

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

평균 풀

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

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

데이터 형식

Attrs DataFormat(
  StringPiece x
)