Merge pull request #469 from Glinte/patch-1

Correct typo in 01_pytorch_workflow.ipynb
This commit is contained in:
Daniel Bourke authored and GitHub committed 2023-06-02 10:44:25 +10:00
commit cab559ede6
1 file changed
+1 -1
+1 -1
View File
@@ -565,7 +565,7 @@
"source": [
"Notice how the values for `weights` and `bias` from `model_0.state_dict()` come out as random float tensors?\n",
"\n",
"This is becuase we initialized them above using `torch.randn()`.\n",
"This is because we initialized them above using `torch.randn()`.\n",
"\n",
"Essentially we want to start from random parameters and get the model to update them towards parameters that fit our data best (the hardcoded `weight` and `bias` values we set when creating our straight line data).\n",
"\n",