torch.ao.quantization.qconfig.get_default_qat_qconfig#

torch.ao.quantization.qconfig.get_default_qat_qconfig(backend='fbgemm', version=1)[源代码]#

Returns the default QAT qconfig for the specified backend.

参数
  • backend (*) – a string representing the target backend. Currently supports fbgemm and qnnpack.

  • version (*) – version, for backwards compatibility. Can be None or 1.

返回

qconfig