mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
Update 01_pytorch_workflow.ipynb
fixed spelling error
This commit is contained in:
1 parent
d8910ee0af
commit
4a621dc7b5
1 file changed
+9
-1
@@ -564,7 +564,15 @@
|
||||
"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",
|
||||
|
||||
Reference in new issue
Block a user