convert_fx
class torch.quantization.quantize_fx.convert_fx(graph_module, convert_custom_config=None, _remove_qconfig=True, qconfig_mapping=None, backend_config=None)
Convert a calibrated or trained model to a quantized model
Parameters:
      * graph_module (***) -- A prepared and calibrated/trained
        model (GraphModule)
  * **convert_custom_config** (***) -- custom configurations for
    convert function. See "ConvertCustomConfig" for more details

  * **_remove_qconfig** (***) -- Option to remove the qconfig
    attributes in the model after convert.

  * **qconfig_mapping** (***) --

    config for specifying how to convert a model for quantization.

          The keys must include the ones in the qconfig_mapping
          passed to *prepare_fx* or *prepare_qat_fx*, with the
          same values or *None*. Additional keys can be specified
          with values set to *None*.
