プリンキピア

第6章構築者のための手引き

6.4.1. Summary6.4.1 まとめ

Lazy initialization can be convenient, allowing the framework to infer parameter shapes automatically, making it easy to modify architectures and eliminating one common source of errors. We can pass data through the model to make the framework finally initialize parameters.
英語のヒント
遅延初期化は便利なことがある。フレームワークがパラメータの形状を自動で推論できるようにして、構造を修正しやすくし、よくある誤りの原因の一つを取り除いてくれる。モデルにデータを通せば、フレームワークにようやくパラメータを初期化させられる。