텐서플로우:: 작전:: 양자화크기 조정쌍선형

#include <image_ops.h>

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

요약

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

인수:

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

선택적 속성( Attrs 참조):

  • align_corners: true인 경우 입력 및 출력 텐서의 4개 모서리 픽셀의 중심이 정렬되어 모서리 픽셀의 값이 유지됩니다. 기본값은 거짓입니다.

보고:

  • Output resize_images: [batch, new_height, new_width, channels] 모양의 4D.
  • 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
)

HalfPixelCenter

Attrs HalfPixelCenters(
  bool x
)