テンソルフロー::作戦::切り抜きとサイズ変更::属性
#include <image_ops.h>
CropAndResizeのオプションの属性セッター。
まとめ
パブリック属性 | |
---|---|
extrapolation_value_ = 0.0f | float |
method_ = "bilinear" | StringPiece |
公共機能 | |
---|---|
ExtrapolationValue (float x) | TF_MUST_USE_RESULT Attrs 該当する場合、外挿に使用される値。 |
Method (StringPiece x) | TF_MUST_USE_RESULT Attrs サイズ変更のサンプリング方法を指定する文字列。 |
パブリック属性
外挿値_
float tensorflow::ops::CropAndResize::Attrs::extrapolation_value_ = 0.0f
方法_
StringPiece tensorflow::ops::CropAndResize::Attrs::method_ = "bilinear"
公共機能
外挿値
TF_MUST_USE_RESULT Attrs tensorflow::ops::CropAndResize::Attrs::ExtrapolationValue( float x )
該当する場合、外挿に使用される値。
デフォルトは 0
方法
TF_MUST_USE_RESULT Attrs tensorflow::ops::CropAndResize::Attrs::Method( StringPiece x )
サイズ変更のサンプリング方法を指定する文字列。
"bilinear"
または"nearest"
のいずれかにすることができ、デフォルトは"bilinear"
です。現在、バイリニアと最近傍の 2 つのサンプリング方法がサポートされています。
デフォルトは「双線形」