텐서플로우:: ops:: ResizeBicubic

#include <image_ops.h>

3차 보간법을 사용하여 images size 를 조정합니다.

요약

입력 이미지는 다양한 유형일 수 있지만 출력 이미지는 항상 float형입니다.

논거:

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

선택적 속성( Attrs 참조):

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

보고:

  • Output : [batch, new_height, new_width, channels] 형태의 4차원.

생성자와 소멸자

ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size)
ResizeBicubic (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBicubic::Attrs & attrs)

공개 속성

operation
resized_images

공공 기능

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

공개 정적 함수

AlignCorners (bool x)
HalfPixelCenters (bool x)

구조

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

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

공개 속성

작업

Operation operation

크기가 조정된 이미지

::tensorflow::Output resized_images

공공 기능

리사이즈비큐빅

 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size
)

리사이즈비큐빅

 ResizeBicubic(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input images,
  ::tensorflow::Input size,
  const ResizeBicubic::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

모서리 정렬

Attrs AlignCorners(
  bool x
)

하프픽셀센터

Attrs HalfPixelCenters(
  bool x
)