#include <array_ops.h>
Optional attribute setters for QuantizeAndDequantizeV2.
Public attributes | |
---|---|
num_bits_ = 8 | int64 |
range_given_ = false | bool |
signed_input_ = true | bool |
Public functions | |
---|---|
NumBits(int64 x) | The bitwidth of the quantization. |
RangeGiven(bool x) | If the range is given or should be computed from the tensor. |
SignedInput(bool x) | If the quantization is signed or unsigned. |
int64 tensorflow::ops::QuantizeAndDequantizeV2::Attrs::num_bits_ = 8
bool tensorflow::ops::QuantizeAndDequantizeV2::Attrs::range_given_ = false
bool tensorflow::ops::QuantizeAndDequantizeV2::Attrs::signed_input_ = true
Attrs tensorflow::ops::QuantizeAndDequantizeV2::Attrs::NumBits( int64 x )
The bitwidth of the quantization.
Defaults to 8
Attrs tensorflow::ops::QuantizeAndDequantizeV2::Attrs::RangeGiven( bool x )
If the range is given or should be computed from the tensor.
Defaults to false
Attrs tensorflow::ops::QuantizeAndDequantizeV2::Attrs::SignedInput( bool x )
If the quantization is signed or unsigned.
Defaults to true
© 2017 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/quantize-and-dequantize-v2/attrs.html