mirror of
https://github.com/mrdbourke/pytorch-deep-learning.git
synced 2026-11-27 06:07:09 +00:00
fix typos
This commit is contained in:
1 parent
5556182adb
commit
bfad957a51
1 file changed
+2
-2
@@ -1545,7 +1545,7 @@
|
||||
}
|
||||
],
|
||||
"source": [
|
||||
"# Element-wise matrix mutlication\n",
|
||||
"# Element-wise matrix multiplication\n",
|
||||
"tensor * tensor"
|
||||
]
|
||||
},
|
||||
@@ -1971,7 +1971,7 @@
|
||||
"source": [
|
||||
"# Since the linear layer starts with a random weights matrix, let's make it reproducible (more on this later)\n",
|
||||
"torch.manual_seed(42)\n",
|
||||
"# This uses matrix mutliplcation\n",
|
||||
"# This uses matrix multiplication\n",
|
||||
"linear = torch.nn.Linear(in_features=2, # in_features = matches inner dimension of input \n",
|
||||
" out_features=6) # out_features = describes outer value \n",
|
||||
"x = tensor_A\n",
|
||||
|
||||
Reference in new issue
Block a user