Skip to content

Commit d741cf9

Browse files
committed
fix bug
1 parent e7e2275 commit d741cf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prototype_source/pt2e_quant_xpu_inductor.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ We will start by performing the necessary imports, capturing the FX Graph from t
5959

6060
# Create the Eager Model
6161
model_name = "resnet18"
62-
models.__dict__[model_name](weights=models.ResNet18_Weights.DEFAULT)
62+
model = models.__dict__[model_name](weights=models.ResNet18_Weights.DEFAULT)
6363

6464
# Set the model to eval mode
6565
model = model.eval().to("xpu")

0 commit comments

Comments
 (0)