tensorflow :: ops :: 크기 조정
#include <image_ops.h>
쌍 선형 보간을 사용하여 images
size
를 조정합니다.
요약
입력 이미지는 다른 유형일 수 있지만 출력 이미지는 항상 부동입니다.
인수 :
- 범위 : 범위 개체
- 이미지 : 모양이있는 4-D
[batch, height, width, channels]
. - size : = A 1-D int32 두 요소의 텐서 :
new_height, new_width
. 이미지의 새 크기입니다.
선택적 속성 ( Attrs
참조) :
- align_corners : true이면 입력 및 출력 텐서의 모서리 픽셀 4 개 중심이 정렬되어 모서리 픽셀의 값이 유지됩니다. 기본값은 false입니다.
보고:
-
Output
: 모양[batch, new_height, new_width, channels]
4-D.
생성자와 소멸자 | |
---|---|
ResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size) | |
ResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, const ResizeBilinear::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 :: ResizeBilinear :: Attrs | ResizeBilinear에 대한 선택적 속성 setter입니다. |
공용 속성
조작
Operation operation
resized_images
::tensorflow::Output resized_images
공공 기능
크기 조정
ResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
크기 조정
ResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBilinear::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 )