tensorflow:: ops:: QuantizedResizeBilinear
#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です。
返品:
コンストラクターとデストラクタ | |
|---|---|
QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max) | |
QuantizedResizeBilinear (const :: tensorflow::Scope & scope, :: tensorflow::Input images, :: tensorflow::Input size, :: tensorflow::Input min, :: tensorflow::Input max, const QuantizedResizeBilinear::Attrs & attrs) |
公開属性 | |
|---|---|
operation | |
out_max | |
out_min | |
resized_images | |
パブリック静的関数 | |
|---|---|
AlignCorners (bool x) | |
HalfPixelCenters (bool x) | |
構造 | |
|---|---|
| tensorflow:: ops:: QuantizedResizeBilinear:: Attrs | QuantizedResizeBilinearのオプション属性セッター。 |
公開属性
手術
Operation operation
最大出力
::tensorflow::Output out_max
出力分
::tensorflow::Output out_min
サイズ変更された画像
::tensorflow::Output resized_images
公的機能
QuantizedResizeBilinear
QuantizedResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, ::tensorflow::Input min, ::tensorflow::Input max )
QuantizedResizeBilinear
QuantizedResizeBilinear( const ::tensorflow::Scope & scope, ::tensorflow::Input images, ::tensorflow::Input size, ::tensorflow::Input min, ::tensorflow::Input max, const QuantizedResizeBilinear::Attrs & attrs )
パブリック静的関数
アラインコーナーズ
Attrs AlignCorners( bool x )
ハーフピクセルセンター
Attrs HalfPixelCenters( bool x )