テンソルフロー::作戦::デコードJPEG::属性
#include <image_ops.h>DecodeJpegのオプションの属性セッター。
まとめ
パブリック属性 | |
|---|---|
acceptable_fraction_ = 1.0f | float | 
 channels_ = 0 | int64 | 
 dct_method_ = "" | StringPiece | 
 fancy_upscaling_ = true | bool | 
 ratio_ = 1 | int64 | 
 try_recover_truncated_ = false | bool | 
公共機能 | |
|---|---|
AcceptableFraction (float x) | TF_MUST_USE_RESULT Attrs切り捨てられた入力が受け入れられるまでに最低限必要な行の部分。  | 
 Channels (int64 x) | TF_MUST_USE_RESULT Attrsデコードされたイメージのカラー チャネルの数。  | 
 DctMethod (StringPiece x) | TF_MUST_USE_RESULT Attrs解凍に使用されるアルゴリズムに関するヒントを指定する文字列。  | 
 FancyUpscaling (bool x) | TF_MUST_USE_RESULT Attrs true の場合、クロマ プレーンの低速だが優れたアップスケーリングを使用します (yuv420/422 のみ)。  | 
 Ratio (int64 x) | TF_MUST_USE_RESULT Attrsダウンスケーリング率。  | 
 TryRecoverTruncated (bool x) | TF_MUST_USE_RESULT Attrs true の場合、切り詰められた入力から画像を復元しようとします。  | 
パブリック属性
許容可能な_分数_
float tensorflow::ops::DecodeJpeg::Attrs::acceptable_fraction_ = 1.0f
チャンネル_
int64 tensorflow::ops::DecodeJpeg::Attrs::channels_ = 0
dct_メソッド_
StringPiece tensorflow::ops::DecodeJpeg::Attrs::dct_method_ = ""
ファンシー_アップスケーリング_
bool tensorflow::ops::DecodeJpeg::Attrs::fancy_upscaling_ = true
比率_
int64 tensorflow::ops::DecodeJpeg::Attrs::ratio_ = 1
try_recover_truncated_
bool tensorflow::ops::DecodeJpeg::Attrs::try_recover_truncated_ = false
公共機能
許容可能な分数
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::AcceptableFraction( float x )
切り捨てられた入力が受け入れられるまでに最低限必要な行の部分。
デフォルトは 1
チャンネル
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::Channels( int64 x )
デコードされたイメージのカラー チャネルの数。
デフォルトは 0
DctMethod
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::DctMethod( StringPiece x )
解凍に使用されるアルゴリズムに関するヒントを指定する文字列。
デフォルトは「」で、システム固有のデフォルトにマップされます。現在有効な値は ["INTEGER_FAST"、"INTEGER_ACCURATE"] です。ヒントは無視される場合があります (たとえば、内部 JPEG ライブラリがその特定のオプションを持たないバージョンに変更されます)。
デフォルトは「」です
ファンシーアップスケーリング
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::FancyUpscaling( bool x )
true の場合、クロマ プレーンの低速だが優れたアップスケーリングを使用します (yuv420/422 のみ)。
デフォルトは true
TryRecoverTruncated
TF_MUST_USE_RESULT Attrs tensorflow::ops::DecodeJpeg::Attrs::TryRecoverTruncated( bool x )
true の場合、切り詰められた入力から画像を復元しようとします。
デフォルトは false