tensorflow:: ops:: ResizeBicubic
#include <image_ops.h>双三次補間法を用いてimages適切なsizeにリサイズします。
まとめ
入力画像は様々な型に対応可能ですが、出力画像は常に浮動小数点型です。
議論:
- スコープ:スコープオブジェクト
- 画像: 形状
[batch, height, width, channels]を持つ 4-D。 - 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) | |
構造 | |
|---|---|
| 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
パブリック静的関数
アラインコーナーズ
Attrs AlignCorners( bool x )
ハーフピクセルセンター
Attrs HalfPixelCenters( bool x )