プリンキピア

第3章回帰のための線形ニューラルネットワーク

3.2.6. Exercises3.2.6 練習問題

  1. Locate full implementations of the above classes that are saved in the D2L library. We strongly recommend that you look at the implementation in detail once you have gained some more familiarity with deep learning modeling.
    英語のヒント
    D2Lライブラリに保存されている、上のクラスの完全な実装を探せ。深層学習のモデリングにもう少し慣れたら、実装を詳しく見ることを強く勧める。
  2. Remove the save_hyperparameters statement in the B class. Can you still print self.a and self.b? Optional: if you have dived into the full implementation of the HyperParameters class, can you explain why?
    英語のヒント
    Bクラスのsave_hyperparameters文を取り除け。それでもself.aとself.bを表示できるか。任意:HyperParametersクラスの完全な実装に踏み込んだなら、その理由を説明できるか。