评价此页

lower_pt2e_quantized_to_x86#

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

将 PT2E 量化模型降低到 x86 后端。

Args: * model (torch.fx.GraphModule): 由 PT2E 量化流程量化的模型。 * example_inputs (tuple[torch.Tensor, …]): 模型的示例输入。

Return: 一个已降低到 x86 后端的 GraphModule。

返回类型

GraphModule