pytorch / 1 / generated / torch.ao.quantization.qconfig_mapping.get_default_qconfig_mapping.html

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

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.ao.quantization.qconfig_mapping.get_default_qconfig_mapping.html