按年被提到
20192023 · 11 次2026
开源书›机器学习与 AI·No.63·简称 D2L

Dive into Deep Learning

动手学深度学习
Aston Zhang, Zachary C. Lipton, Mu Li, Alexander J. Smola

文字、公式与可运行代码合一的深度学习互动教材

免费阅读 ↗
被推荐 · 43 人首次 2019-01-06 · 最近 2026-05-11许可证 CC BY-SA 4.0
43不同的人
32活跃月份
13有推荐的月份
46讨论串

Aston Zhang、Zachary C. Lipton、Mu Li 和 Alexander J. Smola 合著,全书在网上免费阅读,正文里直接嵌入可运行的代码,并提供 PyTorch、NumPy/MXNet、JAX 和 TensorFlow 等框架的实现。从深度学习基础讲到 CNN、Transformer、扩散模型和推荐系统等较新的内容。风格是理论适度、代码充足,和偏理论的 Goodfellow 等人的教材相比更实用,也更新。

HN 为什么推荐它

HN 上的人推荐它作为从零学深度学习的单本书:免费、不断更新、理论和代码平衡,数学公式旁边就有代码,还覆盖 Transformer 和扩散模型。

难度 3 / 5约 70 小时开放许可
适合谁

想系统学深度学习并动手实现的读者

读之前最好知道
1Python
2线性代数
3微积分
4概率基础

怎么读

由 Claude 根据这本书和 HN 上的说法整理,可能有错
  1. 1先选一个框架(如 PyTorch),沿着该框架的代码读
  2. 2每章亲自运行并修改代码,观察结果
  3. 3遇到数学不熟的地方,先补预备知识章节
  4. 4后面的 Transformer 等章节可按兴趣选读

HN 书评

推荐在前,同类按时间 · 每本最多保留 20 条,统计用全部提及 · 作者本人贴的不算
强烈推荐nafizh · 2021-08

“If you want just one book to learn all things deep learning from scratch with coding including the latest techniques, it should be Dive into deep learning [0]. Really underrated and not well-known.”

强烈推荐它作从零学深度学习的唯一一本,称被低估
Intro to Deep Learning原评论 ↗
推荐raidicy · 2020-02

“What has helped me is this deep learning book[0] which has spelled out very plainly what I need to learn.”

称它把学深度学习需要的数学讲得很清楚
Mathematics for the Adventurous Self-Learner原评论 ↗
推荐jointpdf · 2020-07

“Dive Into Deep Learning — can’t personally vouch for this one but it looks comprehensive; numpy/PyTorch/TF focus”

列入书单,称内容全面、侧重 numpy/PyTorch/TF,但未亲自验证
Best Data Science Books According to the Experts原评论 ↗
推荐vinni2 · 2021-08

“It’s not a PyTorch book per se but Dive into Deep Learning by Alex Smola et al. has PyTorch examples.”

推荐它,虽非专门的 PyTorch 书但有 PyTorch 示例
Free Machine Learning crash course from Google原评论 ↗
推荐rg111 · 2021-10

“If you are a beginner, then, you can go through resources that reach Deep Learning through PyTorch. I recommend-”

给初学者推荐通过 PyTorch 入门深度学习的资源
PyTorch 1.10原评论 ↗
推荐randcraw · 2022-08

“A good alternative to Goodfellow is "Dive into Deep Learning", which is free and more up-to-date, interactive, and practical, IMO.”

推荐它替代 Goodfellow,更新、免费、互动且实用
Ask HN: In 2022, what is the proper way to get into machine/deep learning?原评论 ↗
看全部 20 条 →
推荐cgearhart · 2022-10

“I also like this book Dive into Deep Learning”

推荐它,用来准备 ML 求职
Ask HN: AI is really exciting but where do I start?原评论 ↗
推荐allthing · 2022-11

“One good starting point with code to follow along with is the chapter on Recommender Systems in "Dive in to Deep Learning."”

推荐其推荐系统一章,有代码可跟着做
Ask HN: What are some good resources on Recommender Systems?原评论 ↗
推荐nextos · 2023-03

“Dive into Deep Learning (Zhang et al) is a very nice book with the right amount of theory and tons of code.”

称赞它理论适量、代码很多
How to get started learning modern AI?原评论 ↗
推荐driscoll42 · 2023-04

“If you want to learn how to code them, this book is great: Dive into Deep Learning”

推荐它学怎么写 transformer 代码
Transformers from Scratch原评论 ↗
推荐currymj · 2024-01

“"Dive Into Deep Learning" may be good in that it usually has code alongside any mathematical notation: Dive into Deep Learning”

推荐它,因为数学符号旁边通常配有代码
Mathematical Introduction to Deep Learning: Methods, Implementations, and Theory原评论 ↗
推荐nextos · 2024-05

“Dive into Deep Learning. Rigorous, but not too rigorous. Code for everything. Free.”

推荐它严谨但不过分,处处有代码且免费
Ask HN: What's the best way to learn machine learning in 2024?原评论 ↗
推荐nextos · 2024-07

“My other favorite, Dive into Deep Learning, is much simpler mostly aiming at modern CNNs and LLMs. It is really polished, and code is embedded within the text.”

称它更简单、打磨精致,主讲现代 CNN 和 LLM,代码嵌在文中
Ask HN: What are the best resources today for learning AI/LLMs原评论 ↗
推荐Krei-se · 2024-08

“Dive into Deep Learning <-- See Chapter 2.4.1”

指向第 2.4.1 节,讲导数、幂法则和链式法则
A new type of neural network is more interpretable原评论 ↗
推荐Krei-se · 2024-08

“I like this page a lot: Dive into Deep Learning”

表示很喜欢其中这一页
A new type of neural network is more interpretable原评论 ↗
推荐ofou · 2025-01

“Another excellent choice will be "Dive into Deep Learning" [3]”

推荐它作另一个很好的选择
AI Engineer Reading List原评论 ↗
推荐ofou · 2025-01

“Dive into Deep Learning is implemented using various libraries such as PyTorch, NumPy/MXNet, JAX, and TensorFlow.”

指出它用 PyTorch、NumPy/MXNet、JAX、TensorFlow 等库实现
AI Engineer Reading List原评论 ↗
推荐HardikVala · 2025-01

“3 Dive into Deep Learning - Going deep into DL, including contemporary ideas like Transformers and Diffusion models.”

推荐它深入学 DL,含 Transformer 和扩散模型等新想法
Ask HN: How to learn AI from first principles?原评论 ↗
引用lovelearning · 2020-07

“Dive into Deep Learning is a good example of an online book done using Sphinx.”

举它作用 Sphinx 做在线书的好例子
Ask HN: Best way to publish a free book online?原评论 ↗
引用cashsterling · 2021-03

“What would be great is make the code windows tabbed where each code block is listed in R, Python, and Julia... something similar to Dive into Deep Learning.”

希望代码窗口像它那样用标签页切换 R、Python、Julia
The Mathematical Engineering of Deep Learning原评论 ↗