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