DeQuantStub — PyTorch 2.7 documentation (original) (raw)
class torch.ao.quantization.DeQuantStub(qconfig=None)[source][source]¶
Dequantize stub module, before calibration, this is same as identity, this will be swapped as nnq.DeQuantize in convert.
Parameters
qconfig – quantization configuration for the tensor, if qconfig is not provided, we will get qconfig from parent modules
To analyze traffic and optimize your experience, we serve cookies on this site. By clicking or navigating, you agree to allow our usage of cookies. As the current maintainers of this site, Facebook’s Cookies Policy applies. Learn more, including about available controls: Cookies Policy.