tensorflow :: ops :: FakeQuantWithMinMaxVarsGradient :: Attrs
#include <array_ops.h>
FakeQuantWithMinMaxVarsGradientのオプションの属性セッター。
概要
パブリック属性 | |
---|---|
narrow_range_ = false | bool |
num_bits_ = 8 | int64 |
公の行事 | |
---|---|
NarrowRange (bool x) | TF_MUST_USE_RESULT Attrs 2 ^ num_bits-1つの異なる値に量子化するかどうか。 |
NumBits (int64 x) | TF_MUST_USE_RESULT Attrs 量子化のビット幅。 2から8まで。 |
パブリック属性
狭い範囲_
bool tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::num_bits_ = 8
公の行事
狭い範囲
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::NarrowRange( bool x )
2 ^ num_bits-1つの異なる値に量子化するかどうか。
デフォルトはfalse
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsGradient::Attrs::NumBits( int64 x )
量子化のビット幅。 2から8まで。
デフォルトは8