tensorflow :: ops :: ResizeNearestNeighbor

#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 : 모양 [batch, new_height, new_width, channels] 4-D.

생성자와 소멸자

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

공용 속성

operation
resized_images

공공 기능

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

공개 정적 함수

AlignCorners (bool x)
HalfPixelCenters (bool x)

구조체

tensorflow :: ops :: ResizeNearestNeighbor :: Attrs

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

공용 속성

조작

Operation operation

resized_images

::tensorflow::Output resized_images

공공 기능

ResizeNearestNeighbor

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

ResizeNearestNeighbor

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

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

AlignCorners

Attrs AlignCorners(
  bool x
)

HalfPixelCenters

Attrs HalfPixelCenters(
  bool x
)