Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: ExtractImagePatches

#include <array_ops.h>

images 에서 patches 를 추출하여 "깊이"출력 차원에 넣습니다.

요약

인수 :

  • 범위 : 범위 개체
  • 이미지 : [batch, in_rows, in_cols, depth] 모양의 4 차원 텐서 .
  • ksizes : images 각 차원에 대한 슬라이딩 창의 크기입니다.
  • strides : 이미지에서 연속 된 두 패치의 중심이 얼마나 멀리 있는지. [1, stride_rows, stride_cols, 1] 이어야합니다.
  • 요율 : [1, rate_rows, rate_cols, 1] 이어야합니다. 이것은 입력 보폭으로, 두 개의 연속 된 패치 샘플이 입력에 얼마나 멀리 있는지 지정합니다. patch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1) 을 사용하여 패치를 추출한 다음 rates 계수로 공간적으로 서브 샘플링하는 rates . 이것은 확장 된 (일명 Atrous) 컨볼 루션의 rate 와 동일합니다.
  • padding : 사용할 채우기 알고리즘의 유형입니다.

보고:

  • Output : "깊이"차원에서 벡터화 된 크기가 ksize_rows x ksize_cols x depth 이미지 패치를 포함하는 [batch, out_rows, out_cols, ksize_rows * ksize_cols * depth] 모양의 4 차원 텐서 . out_rowsout_cols 는 출력 패치의 차원입니다.

생성자와 소멸자

ExtractImagePatches (const :: tensorflow::Scope & scope, :: tensorflow::Input images, const gtl::ArraySlice< int > & ksizes, const gtl::ArraySlice< int > & strides, const gtl::ArraySlice< int > & rates, StringPiece padding)

공용 속성

operation
patches

공공 기능

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

공용 속성

조작

Operation operation

패치

::tensorflow::Output patches

공공 기능

ExtractImagePatches

 ExtractImagePatches(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  const gtl::ArraySlice< int > & ksizes,
  const gtl::ArraySlice< int > & strides,
  const gtl::ArraySlice< int > & rates,
  StringPiece padding
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const