tensorflow :: ops :: ResizeBicubic
#include <image_ops.h>
バイキュービック補間を使用して、 images
size
をサイズ変更しimages
。
概要
入力画像にはさまざまなタイプがありますが、出力画像は常にフロートです。
引数:
- スコープ:スコープオブジェクト
- 画像:形状
[batch, height, width, channels]
4D。 - サイズ:= 2要素の1-
new_height, new_width
テンソル:new_height, new_width
。画像の新しいサイズ。
オプションの属性(参照Attrs
):
- align_corners:trueの場合、入力テンソルと出力テンソルの4つのコーナーピクセルの中心が整列され、コーナーピクセルの値が保持されます。デフォルトはfalseです。
戻り値:
-
Output
:形状[batch, new_height, new_width, channels]
。
コンストラクタとデストラクタ | |
---|---|
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) |
構造体 | |
---|---|
tensorflow :: ops :: ResizeBicubic :: Attrs | ResizeBicubicのオプションの属性セッター。 |
パブリック属性
操作
Operation operation
サイズ変更された画像
::tensorflow::Output resized_images
公の行事
ResizeBicubic
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size )
ResizeBicubic
ResizeBicubic( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, const ResizeBicubic::Attrs & attrs )
ノード
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const
パブリック静的関数
AlignCorners
Attrs AlignCorners( bool x )
HalfPixelCenters
Attrs HalfPixelCenters( bool x )