評價此頁

lower_pt2e_quantized_to_x86#

class torch.ao.quantization.pt2e.lowering.lower_pt2e_quantized_to_x86(model, example_inputs)[source]#

將 PT2E 量化模型降低到 x86 後端。

引數: * model (torch.fx.GraphModule): 透過 PT2E 量化流程量化的模型。 * example_inputs (tuple[torch.Tensor, …]): 模型的示例輸入。

返回: 一個已降低到 x86 後端的 GraphModule。

返回型別

GraphModule