tensorflow:: ops:: QuantizeV2:: Attrs
#include <array_ops.h>QuantizeV2のオプション属性設定子。
まとめ
公開属性 | |
|---|---|
axis_ = -1 | int64 |
ensure_minimum_range_ = 0.01f | float |
mode_ = "MIN_COMBINED" | StringPiece |
narrow_range_ = false | bool |
round_mode_ = "HALF_AWAY_FROM_ZERO" | StringPiece |
公的機能 | |
|---|---|
Axis (int64 x) | TF_MUST_USE_RESULT Attrsデフォルト値は-1です。 |
EnsureMinimumRange (float x) | TF_MUST_USE_RESULT Attrsデフォルト値は0.01です。 |
Mode (StringPiece x) | TF_MUST_USE_RESULT Attrsデフォルトは「MIN_COMBINED」です。 |
NarrowRange (bool x) | TF_MUST_USE_RESULT Attrsデフォルトはfalseです。 |
RoundMode (StringPiece x) | TF_MUST_USE_RESULT Attrsデフォルト値は「HALF_AWAY_FROM_ZERO」です。 |
公開属性
軸_
int64 tensorflow::ops::QuantizeV2::Attrs::axis_ = -1
最小範囲を確保する
float tensorflow::ops::QuantizeV2::Attrs::ensure_minimum_range_ = 0.01f
モード_
StringPiece tensorflow::ops::QuantizeV2::Attrs::mode_ = "MIN_COMBINED"
狭い範囲
bool tensorflow::ops::QuantizeV2::Attrs::narrow_range_ = false
ラウンドモード_
StringPiece tensorflow::ops::QuantizeV2::Attrs::round_mode_ = "HALF_AWAY_FROM_ZERO"
公的機能
最小範囲を確保する
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::EnsureMinimumRange( float x )
デフォルト値は0.01です。
モード
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::Mode( StringPiece x )
デフォルトは「MIN_COMBINED」です。
狭い範囲
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::NarrowRange( bool x )
デフォルトはfalseです。
ラウンドモード
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeV2::Attrs::RoundMode( StringPiece x )
デフォルト値は「HALF_AWAY_FROM_ZERO」です。