0
3

More than 3 years have passed since last update.

ゼロから作るDeep Learning ―Pythonで学ぶディープラーニングの理論と実装のchapter 4のヒント

Last updated at Posted at 2020-04-01

loss_W = lambda W: self.loss(x, t)

grads = {}
numerical_gradient(loss_W, self.params['W1'])

の部分ですが、numerical_gradientの第二引数は参照渡しになっているようです。

0
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
3