Shortcuts

get_default_qconfig_mapping

class torch.ao.quantization.qconfig_mapping.get_default_qconfig_mapping(backend='fbgemm', version=0)[source]

Return the default QConfigMapping for post training quantization.

Parameters:
  • backend (*) – the quantization backend for the default qconfig mapping, should be one of [“x86”, “fbgemm” (default), “qnnpack”, “onednn”]

  • version (*) – the version for the default qconfig mapping

Return type:

QConfigMapping

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources