megengine.quantization.propagate_qconfig

propagate_qconfig(module, qconfig)[source]

Recursively set module’s qconfig through apply.

Parameters
  • module (QATModule) – root module to traverse recursively.

  • qconfig (QConfig) – a instance of QConfig to be set as submodules’ qconfig.