텐서플로우:: ops:: 양자화 크기 조정 이중선형

#include <image_ops.h>

양자화된 images 의 size 양자화된 이중선형 보간법을 사용하여 조정합니다.

요약

입력 이미지와 출력 이미지는 양자화된 유형이어야 합니다.

논거:

  • 범위: Scope 객체
  • 이미지: [batch, height, width, channels] 형태의 4차원 이미지입니다.
  • size: 2개의 요소( new_height, new_width )로 구성된 1차원 int32 텐서입니다 . 이미지의 새로운 크기입니다.

선택적 속성( Attrs 참조):

  • align_corners: true로 설정하면 입력 및 출력 텐서의 4개 모서리 픽셀 중심이 정렬되고, 모서리 픽셀의 값은 유지됩니다. 기본값은 false입니다.

보고:

  • Output resized_images: [batch, new_height, new_width, channels] 형태의 4차원 이미지입니다.
  • Output out_min
  • Output out_max

생성자와 소멸자

QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max)
QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max, const QuantizedResizeBilinear::Attrs & attrs)

공개 속성

operation
out_max
out_min
resized_images

공개 정적 함수

AlignCorners (bool x)
HalfPixelCenters (bool x)

구조

텐서플로우:: ops:: QuantizedResizeBilinear:: Attrs

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

공개 속성

작업

Operation operation

출력 최대

::tensorflow::Output out_max

아웃_민

::tensorflow::Output out_min

크기가 조정된 이미지

::tensorflow::Output resized_images

공공 기능

양자화 크기 조정 이중선형

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max
)

양자화 크기 조정 이중선형

 QuantizedResizeBilinear(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  ::tensorflow::Input min,
  ::tensorflow::Input max,
  const QuantizedResizeBilinear::Attrs & attrs
)

공개 정적 함수

모서리 정렬

Attrs AlignCorners(
  bool x
)

하프픽셀센터

Attrs HalfPixelCenters(
  bool x
)