chapter 17 Model.bwd fix (#270)
Remove self. from function parameter which was not member variable so code runs.
This commit is contained in:
parent
4b92fb6e4b
commit
f24dfcc6d6
@ -2198,7 +2198,7 @@
|
||||
" \n",
|
||||
" def bwd(self, out, inp):\n",
|
||||
" inp.g = out.g @ self.w.t()\n",
|
||||
" self.w.g = self.inp.t() @ self.out.g\n",
|
||||
" self.w.g = inp.t() @ self.out.g\n",
|
||||
" self.b.g = out.g.sum(0)"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user