add_quant_dequant
- class torch.ao.quantization.add_quant_dequant(module)
Wrap the leaf child module in QuantWrapper if it has a valid qconfig Note that this function will modify the children of module inplace and it can return a new module which wraps the input module as well.
- Parameters:
module – input module with qconfig attributes for all the leaf modules
quantize () –