W3cubDocs

/PyTorch 2.9

lower_pt2e_quantized_to_x86

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

Lower a PT2E-qantized model to x86 backend.

Args: * model (torch.fx.GraphModule): a model quantized by PT2E quantization flow. * example_inputs (tuple[torch.Tensor, …]): example inputs for the model.

Return: A GraphModule lowered to x86 backend.

Return type

GraphModule

© 2025, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://docs.pytorch.org/docs/2.9/generated/torch.ao.quantization.pt2e.lowering.lower_pt2e_quantized_to_x86.html