torch.ao.quantization.qconfig.get_default_qconfig#

torch.ao.quantization.qconfig.get_default_qconfig(backend='fbgemm')[源代码]#

Returns the default PTQ qconfig for the specified backend.

参数

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

返回

qconfig