public static class QuantizeAndDequantizeV2.Options extends Object
QuantizeAndDequantizeV2| Modifier and Type | Method and Description |
|---|---|
QuantizeAndDequantizeV2.Options |
numBits(Long numBits) |
QuantizeAndDequantizeV2.Options |
rangeGiven(Boolean rangeGiven) |
QuantizeAndDequantizeV2.Options |
roundMode(String roundMode) |
QuantizeAndDequantizeV2.Options |
signedInput(Boolean signedInput) |
public QuantizeAndDequantizeV2.Options signedInput(Boolean signedInput)
signedInput - Whether the quantization is signed or unsigned. (actually this parameter should
have been called `signed_output`)public QuantizeAndDequantizeV2.Options numBits(Long numBits)
numBits - The bitwidth of the quantization.public QuantizeAndDequantizeV2.Options rangeGiven(Boolean rangeGiven)
rangeGiven - Whether the range is given or should be determined from the `input` tensor.public QuantizeAndDequantizeV2.Options roundMode(String roundMode)
roundMode - The 'round_mode' attribute controls which rounding tie-breaking algorithm is
used when rounding float values to their quantized equivalents. The following
rounding modes are currently supported:
Copyright © 2015–2019. All rights reserved.