public static class FakeQuantWithMinMaxVarsPerChannelGradient.Options extends Object
FakeQuantWithMinMaxVarsPerChannelGradient
Modifier and Type | Method and Description |
---|---|
FakeQuantWithMinMaxVarsPerChannelGradient.Options |
narrowRange(Boolean narrowRange) |
FakeQuantWithMinMaxVarsPerChannelGradient.Options |
numBits(Long numBits) |
public FakeQuantWithMinMaxVarsPerChannelGradient.Options numBits(Long numBits)
numBits
- The bitwidth of the quantization; between 2 and 16, inclusive.public FakeQuantWithMinMaxVarsPerChannelGradient.Options narrowRange(Boolean narrowRange)
narrowRange
- Whether to quantize into 2^num_bits - 1 distinct values.Copyright © 2022. All rights reserved.