Update 01_pytorch_workflow.ipynb

This commit is contained in:
Savio Mak authored and GitHub committed 2023-06-27 11:20:44 +08:00
1 parent 2fdda82d44
commit 47dd41bc16
1 file changed
+1 -1
+1 -1
View File
@@ -1344,7 +1344,7 @@
"\n",
"So instead, we're using the flexible method of saving and loading just the `state_dict()`, which again is basically a dictionary of model parameters.\n",
"\n",
"Let's test it out by created another instance of `LinearRegressionModel()`, which is a subclass of `torch.nn.Module` and will hence have the in-built method `load_state_dit()`."
"Let's test it out by created another instance of `LinearRegressionModel()`, which is a subclass of `torch.nn.Module` and will hence have the in-built method `load_state_dict()`."
]
},
{