第5章多層パーセプトロン
5.3.6. Exercises5.3.6 練習問題
- Assume that the inputs to some scalar function are matrices. What is the dimensionality of the gradient of with respect to ?
英語のヒント
あるスカラー関数への入力がの行列だとする。についてのの勾配の次元はいくつか。 - Add a bias to the hidden layer of the model described in this section (you do not need to include bias in the regularization term).
英語のヒント
この節で説明したモデルの隠れ層にバイアスを加えよ(正則化項にバイアスを含める必要はない)。- Draw the corresponding computational graph.
英語のヒント
対応する計算グラフを描け。 - Derive the forward and backward propagation equations.
英語のヒント
順伝播と逆伝播の式を導出せよ。
- Compute the memory footprint for training and prediction in the model described in this section.
英語のヒント
この節で説明したモデルについて、訓練と予測に必要なメモリ量を計算せよ。 - Assume that you want to compute second derivatives. What happens to the computational graph? How long do you expect the calculation to take?
英語のヒント
2階導関数を計算したいとする。計算グラフはどうなるか。計算にはどれくらい時間がかかると予想されるか。 - Assume that the computational graph is too large for your GPU.
英語のヒント
計算グラフがGPUにとって大きすぎるとする。- Can you partition it over more than one GPU?
英語のヒント
それを複数のGPUに分割できるか。 - What are the advantages and disadvantages over training on a smaller minibatch?
英語のヒント
より小さいミニバッチで訓練するのと比べて、利点と欠点は何か。