> For the complete documentation index, see [llms.txt](https://pytorch.zhangxiann.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pytorch.zhangxiann.com/4-mo-xing-xun-lian.md).

# 4 模型训练

- [4.1 权值初始化](https://pytorch.zhangxiann.com/4-mo-xing-xun-lian/4.1-quan-zhi-chu-shi-hua.md)
- [4.2 损失函数](https://pytorch.zhangxiann.com/4-mo-xing-xun-lian/4.2-sun-shi-han-shu.md)
- [4.3 优化器](https://pytorch.zhangxiann.com/4-mo-xing-xun-lian/4.3-you-hua-qi.md)
