We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7e2275 commit d741cf9Copy full SHA for d741cf9
prototype_source/pt2e_quant_xpu_inductor.rst
@@ -59,7 +59,7 @@ We will start by performing the necessary imports, capturing the FX Graph from t
59
60
# Create the Eager Model
61
model_name = "resnet18"
62
- models.__dict__[model_name](weights=models.ResNet18_Weights.DEFAULT)
+ model = models.__dict__[model_name](weights=models.ResNet18_Weights.DEFAULT)
63
64
# Set the model to eval mode
65
model = model.eval().to("xpu")
0 commit comments