텐서플로우:: ops:: ExtractImagePatches

#include <array_ops.h>

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

요약

논거:

  • 범위: Scope 객체
  • 이미지: [batch, in_rows, in_cols, depth] 형태의 4차원 텐서 .
  • ksizes: images 의 각 차원에 대한 슬라이딩 윈도우의 크기입니다.
  • strides: 이미지에서 연속된 두 패치의 중심 사이의 거리입니다. 다음 중 하나여야 합니다: [1, stride_rows, stride_cols, 1] .
  • rates: [1, rate_rows, rate_cols, 1] 이어야 합니다. 이는 입력 스트라이드로, 입력에서 연속된 두 패치 샘플 사이의 거리를 지정합니다. patch_sizes_eff = patch_sizes + (patch_sizes - 1) * (rates - 1) 로 패치를 추출한 다음, rates 만큼 공간적으로 서브샘플링하는 것과 같습니다. 이는 확장(또는 Atrous) 컨볼루션에서 rate 에 해당합니다.
  • padding: 사용할 패딩 알고리즘 유형입니다.

보고:

  • Output : [batch, out_rows, out_cols, ksize_rows * ksize_cols * depth] 형태의 4차원 텐서. 이 텐서에는 ksize_rows x ksize_cols x depth 크기의 이미지 패치가 "depth" 차원으로 벡터화되어 포함됩니다. out_rows 와 out_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(
  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 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const