#include <array_ops.h>
Optional attribute setters for FakeQuantWithMinMaxVarsPerChannelGradient.
Public attributes | |
---|---|
narrow_range_ = false | bool |
num_bits_ = 8 | int64 |
Public functions | |
---|---|
NarrowRange(bool x) | TF_MUST_USE_RESULT Attrs Whether to quantize into 2^num_bits - 1 distinct values. |
NumBits(int64 x) | TF_MUST_USE_RESULT Attrs The bitwidth of the quantization; between 2 and 16, inclusive. |
bool tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::narrow_range_ = false
int64 tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::num_bits_ = 8
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NarrowRange( bool x )
Whether to quantize into 2^num_bits - 1 distinct values.
Defaults to false
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NumBits( int64 x )
The bitwidth of the quantization; between 2 and 16, inclusive.
Defaults to 8
© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-vars-per-channel-gradient/attrs.html