tensorflow :: ops :: QuantizedResizeBilinear

#include <image_ops.h>

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

요약

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

인수 :

  • 범위 : 범위 개체
  • 이미지 : 모양 [batch, height, width, channels] 4-D.
  • size : = A 1-D int32 두 요소의 텐서 : new_height, new_width . 이미지의 새 크기입니다.

선택적 속성 ( Attrs 참조) :

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

보고:

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

구조체

tensorflow :: ops :: QuantizedResizeBilinear :: Attrs

QuantizedResizeBilinear에 대한 선택적 속성 설정자.

공용 속성

조작

Operation operation

out_max

::tensorflow::Output out_max

out_min

::tensorflow::Output out_min

resized_images

::tensorflow::Output resized_images

공공 기능

QuantizedResizeBilinear

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

QuantizedResizeBilinear

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

공개 정적 함수

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)