D2l Zh is live · free plan; paid plans (see vendor prices) · last verified 24 Nov 2026 · viability healthy

D2l Zh

D2l Zh

《动手学深度学习》:每个小节都是可运行 Jupyter 记事本的深度学习教科书,含 PyTorch、TensorFlow、PaddlePaddle、MXNet 四框架实现。

81/100Safe BetFree plan · paid plans (see vendor prices)Freemium

免费方案里,想扎实打牢深度学习基础的中文读者很难找到比它更划算的:概念、公式、图示、可跑代码四位一体,ResNet 到 Transformer 都有从零实现。代价是内容止步于 BERT 与 Transformer,代码基于较早的框架版本,跑起来常要自己适配。当基础教材用最好,别指望它带你追前沿。

Verdict generated

Verified 8d ago · liveness 81/100 · cite: rightaichoice.com/tools/d2l-zh

Best for
  • 想从零动手、边跑代码边学的中文深度学习初学者
  • 需要用可运行代码补齐实现能力的机器学习工程师
  • 把本书用作课程教材或参考书的高校教师
  • 使用 PyTorch、TensorFlow 或 PaddlePaddle 技术栈的中文开发者
Not ideal for
  • 追踪扩散模型、LLM 微调、RLHF 等较新方向的研究者
  • 偏好纯理论推导、完全不想跑代码的读者
  • 不使用 Python 或主流深度学习框架的开发者
Visit Website

Not deciding today? Get one email if D2l Zh changes its price or its website goes down. Free.


Beginner-friendly在线版零安装:打开 Colab 或 SageMaker Studio Lab 直接运行任意小节,几分钟内可看到第一个训练结果。本地运行需自行装 Python 与框架(PyTorch/MXNet/TensorFlow/PaddlePaddle 之一)及 d2l 包,通常半小时到一小时。作为课程教材,教师按章节组织一学期内容,取用现成课件与作业可省去大部分备课时间。WebNo public APIVerified 8d ago
Pricing
Free plan · paid plans (see vendor prices)
FreemiumFree tier3 plans
Learning curve
Beginner-friendly
在线版零安装:打开 Colab 或 SageMaker Studio Lab 直接运行任意小节,几分钟内可看到第一个训练结果。本地运行需自行装 Python 与框架(PyTorch/MXNet/TensorFlow/PaddlePaddle 之一)及 d2l 包,通常半小时到一小时。作为课程教材,教师按章节组织一学期内容,取用现成课件与作业可省去大部分备课时间。
Runs on
Web
No public API · 10 integrations
Who it's for
中文深度学习初学者机器学习工程师高校教师
Live sentiment
Is D2l Zh actually worth it?

We scan public community discussion about D2l Zh and hand you an honest verdict, or say plainly when we cannot tie the posts to this tool.

  • Honest verdict, not marketing
  • Real pros & cons from real users
  • Attributed quotes with receipts
Run a free scan

Free scans included · no card needed

Skip it if

Skip D2L if you need material that covers LLM fine-tuning, diffusion models or RLHF, since the book's content ends at BERT and Transformer.

Skip-it-if note generated
The 30-second take
Price reality

在线版免费,16 章内容、四框架实现、在线文档与 PDF 下载都不收费;只有想拿纸质教材或用作课程课本时才需要花钱——第二版《动手学深度学习(PyTorch版)》黑白平装版约 ¥100,第一版全彩精装约 ¥100-200。相比动辄数百美元的付费课程与认证,它的学习成本几乎压到了最低。

Generated

In short

D2l Zh — 《动手学深度学习》:每个小节都是可运行 Jupyter 记事本的深度学习教科书,含 PyTorch、TensorFlow、PaddlePaddle、MXNet 四框架实现。. Best for 想从零动手、边跑代码边学的中文深度学习初学者, 需要用可运行代码补齐实现能力的机器学习工程师, 把本书用作课程教材或参考书的高校教师. Free to start; it also has paid plans whose price we could not confirm — see the pricing table.

Claim this listing

What is D2l Zh?

D2l Zh — 《动手学深度学习》:每个小节都是可运行 Jupyter 记事本的深度学习教科书,含 PyTorch、TensorFlow、PaddlePaddle、MXNet 四框架实现。. Best for 想从零动手、边跑代码边学的中文深度学习初学者, 需要用可运行代码补齐实现能力的机器学习工程师, 把本书用作课程教材或参考书的高校教师. Free to start; it also has paid plans whose price we could not confirm — see the pricing table.

FreemiumBeginner-friendlyNo APIWeb

《动手学深度学习》(D2L,zh.d2l.ai)是一部面向中文读者的深度学习教科书,最鲜明的设计是每个小节本身就是一个可运行的 Jupyter 记事本——代码可改、超参数可调,结果立即反馈。核心价值不在篇幅,而在于“能运行、可讨论”这件事被落到了章节结构里。 第二版在线内容同时给出 PyTorch、NumPy/MXNet、TensorFlow 和 PaddlePaddle 四种框架实现,新增的 PaddlePaddle 使国内飞桨技术栈的读者也能直接对照。同一算法常常配“从零实现”与“简洁实现”两套写法,前者手写每一行,后者调用框架 API,便于看出封装里到底发生了什么。 内容铺排从数据操作、线性回归、softmax 回归、多层感知机起步,经 LeNet、AlexNet、VGG、NiN、GoogLeNet、ResNet、DenseNet 等卷积网络,到 GRU、LSTM、双向 RNN、seq2seq、束搜索,再进入 Bahdanau 注意力、多头注意力、自注意力与 Transformer;另有优化算法与计算性能两章,并以预测房价、CIFAR-10、狗的品种识别三个 Kaggle 实战作为收束。 运行环境不需要自配:本地、Amazon SageMaker Studio Lab、Amazon SageMaker、Google Colab 都有对应指引。官方页面称本书中英文版被全球 70 多个国家 500 多所大学用作教材或参考书,社区有 200 多位贡献者,附录里还附了 d2l API 文档。 与吴恩达《深度学习专项课程》和《深度学习》(花书)相比,它把重心放在手写代码而不是推导或讲解;与 PyTorch 官方教程相比又成体系得多。追更新方向的人会嫌它停在 BERT 与 Transformer。

Key features

  • 每个小节对应一个可运行的 Jupyter 记事本
  • 同一算法提供“从零实现”与“简洁实现”双轨代码对照
  • PyTorch、NumPy/MXNet、TensorFlow、PaddlePaddle 四种框架实现
  • 现代卷积网络:AlexNet、VGG、NiN、GoogLeNet、ResNet、DenseNet
  • 现代循环网络:GRU、LSTM、深度双向 RNN、seq2seq、束搜索
  • 注意力机制:Bahdanau 注意力、多头注意力、自注意力、Transformer
  • NLP 预训练与应用:word2vec、GloVe、BERT 预训练与微调、情感分析、自然语言推断
  • 优化算法:SGD、动量法、AdaGrad、RMSProp、Adadelta、Adam、学习率调度器
  • 计算性能:异步计算、自动并行、多 GPU 训练、参数服务器
  • 计算机视觉:图像增广、微调、锚框、SSD、R-CNN 系列、语义分割、风格迁移
  • 三个 Kaggle 实战:预测房价、CIFAR-10 图像分类、狗的品种识别
  • 本地、Amazon SageMaker Studio Lab、Amazon SageMaker、Google Colab 运行指引
  • 免费在线文档与 PDF 下载,附课件、作业与教学视频
  • 每章末附社区讨论链接,200 多位贡献者维护
  • 附录含 d2l API 文档与贡献指南

Behind the verdict

我们通常这样判断是否该翻开它:如果你想从零把深度学习的实现链条走一遍——数据怎么进来、层怎么搭、梯度怎么回传、训练怎么收敛——D2L 的“从零实现 / 简洁实现”双轨写法几乎是中文资源里最省心的路径。第二种合适的人是已经在用框架、但对自己调用的 API 心里没底的工程师,回头补这一课比刷零散博客有效得多。 什么时候该选它?中文母语、愿意动手、需要成体系的路径,而不是一堆单独的主题讲解。它的章节顺序是设计过的,前章的代码后面会反复用上。 什么时候该绕开?想找扩散模型、LLM 微调、RLHF 这类较新方向的读者会失望——页面目录止于第 16 章,自然语言处理的终点是 BERT 预训练与微调。追前沿得另找材料。 和最近的对位怎么比?对吴恩达《深度学习专项课程》,本书的中文讲解与代码密度更贴合自学编程的人;对《深度学习》(花书),它上手平缓得多,但理论深度不是同一层次;对 PyTorch 官方教程,它覆盖了卷积、循环、注意力的完整演进史,代价是部分代码基于较早的框架版本。 实际使用的坑:动手跑多 GPU 章节需要真的有多卡环境,只有单卡或纯 CPU 的读者会卡在第 12 章;框架版本更新后,旧的示例可能报错,需要自己改 API 名或参数。 还有一点值得留意:它更像教科书而不是函数手册。想按关键字快速查某个 API 用法,去查文档或 d2l API 文档更快。 总的说:把它当作基础课的主教材,学完再切到新方向,是最理性的用法。

Limitations

内容体系止于 Transformer 与 BERT 等经典架构,属于教学用的深度学习教科书,而非实时追踪前沿研究的工具。代码基于特定框架版本写成,与最新框架 API 可能不完全兼容,需自行适配。运行环境依赖 Jupyter 记事本及本地或云端(SageMaker、Colab)环境,需要具备一定的环境配置能力。

as of 2026-10-11

Researching D2l Zh? Get your full AI stack in 60 seconds.

Free, no signup — tell us your goal and get tools matched to your budget & existing stack.

Is D2l Zh still active?

D2l Zh is live · free plan; paid plans (see vendor prices) · last verified 24 Nov 2026 · viability healthy.

Viability score

81/100
Safe Bet

How well maintained and how widely used is D2l Zh? Built from what the vendor actually publishes (docs, changelog, tutorials, integrations, pricing), whether the site is live, and how much real users discuss it. How we calculate this

Recent activity
not measured
Traction
100
Site health
95
User sentiment
63
What the vendor publishes
60

Last calculated: November 2026

How we score →

What do users say about D2l Zh?

What people actually say about D2l Zh — is it worth it?

We scanned public community sources for D2l Zh on Nov 13, 2026 and could not establish that the discussion we found is about this tool rather than something else sharing its name. Only 1 of the posts we fetched could be positively tied to D2l Zh. Rather than publish a sentiment score built on the wrong subject, we publish nothing here and re-run the scan.

How we verified this

Every listed fact about D2l Zh — pricing, features, links, status — is re-read from the vendor's own pages by our verification pipeline and each change is logged with a date; the last pass ran on 24 Nov 2026. Analysis is drafted with AI models and checked against our editorial standards before publishing; see how we verify.

Verification history

We have re-verified D2l Zh 16 times since . Each pass re-reads the vendor's own pages and re-checks every listed field against that evidence; passes where nothing had changed are marked as such.

  1. — changed SSL certificate
  2. — changed link health, pricing page
  3. — changed limitations
  4. — changed our verdict, features, description, summary, pricing tiers, who should skip it, who it suits
  5. — changed integrations, who it suits, description, our verdict, features, who should skip it, pricing tiers, summary
  6. — changed hidden costs, who should skip it, switching out, pricing tiers, our verdict, description, setup time, features, pricing fit, limitations, use cases, summary, who it suits, switching in

Showing the 6 most recent of 16 verification passes.

Free to cite with attribution — this page re-verifies continuously.

Claim this listing

How much does D2l Zh cost in 2026?

D2l Zh: Free to start; it also has paid plans whose price we could not confirm — see the pricing table. Pricing last verified 24 Nov 2026.

Plans compared

Every published D2l Zh tier, its price as the vendor publishes it, who it fits, and what it adds over the tier below. The 12-month cost projection follows.

D2l Zh pricing plans compared
PlanPriceBillingWho it's for
在线版(第二版)Free——
第二版纸质书《动手学深度学习(PyTorch版)》(黑白平装)约 ¥100——
第一版纸质书(全彩精装 / 黑白平装)约 ¥100-200——

12-month cost

Project the real annual outlay, including the implied monthly cost when only an annual tier is published.

Annual total
Free
Over 12 months
Effective monthly
—
—

Prices as the vendor publishes them, including any current offer. Add-on usage, seat overages, and contract minimums are surfaced under Hidden costs & gotchas.

Where the pricing makes sense

The company stage and team size where D2l Zh's pricing actually pencils out — and where peers do it cheaper.

在线版免费,16 章内容、四框架实现、在线文档与 PDF 下载都不收费;只有想拿纸质教材或用作课程课本时才需要花钱——第二版《动手学深度学习(PyTorch版)》黑白平装版约 ¥100,第一版全彩精装约 ¥100-200。相比动辄数百美元的付费课程与认证,它的学习成本几乎压到了最低。

Hidden-cost and price-fit notes generated

Has D2l Zh's pricing changed?

No plan price for D2l Zh has moved since we began tracking it in Aug 2026; the pricing page is re-read on every verification pass.

Who should pick D2l Zh?

Pick D2l Zh if you are 想从零动手、边跑代码边学的中文深度学习初学者, 需要用可运行代码补齐实现能力的机器学习工程师, 把本书用作课程教材或参考书的高校教师, 使用 PyTorch、TensorFlow 或 PaddlePaddle 技术栈的中文开发者.

Look elsewhere if you are 追踪扩散模型、LLM 微调、RLHF 等较新方向的研究者, 偏好纯理论推导、完全不想跑代码的读者, 不使用 Python 或主流深度学习框架的开发者, 只想按关键字速查 API 用法、不要成体系路径的人.

Skip it if Skip D2L if you need material that covers LLM fine-tuning, diffusion models or RLHF, since the book's content ends at BERT and Transformer.

Generated

Real-world workflow fit

Concrete scenarios for the personas D2l Zh actually fits — and what changes day-one when you adopt it.

中文深度学习初学者

打开在线版第 3 章,在 Google Colab 里运行线性回归的从零实现,改学习率观察损失曲线变化

Outcome: 在不装环境的前提下跑通第一个模型,理解训练循环与梯度下降的实际行为

机器学习工程师

对照第 10 章的从零实现与简洁实现,拆解多头注意力与自注意力的矩阵维度,再迁移到自己的代码里

Outcome: 补上此前只会调 API、不清楚内部实现的知识缺口

高校教师

取用中文版课件与作业,按第 6-9 章组织一学期课程,让学生在 SageMaker Studio Lab 上做实验

Outcome: 省去从零编写教材与实验环境的时间,课程直接可用

Workflow scenarios generated

Use cases

  • 从零学习深度学习基础概念,并在 Jupyter 记事本里动手验证
  • 用 PyTorch 或 PaddlePaddle 实现卷积神经网络做图像分类
  • 跟随第 10 章拆解 Transformer 与自注意力机制
  • 用第 13 章的 Kaggle 项目(CIFAR-10、狗的品种识别)练实战
  • 高校教师取用课件与作业设计深度学习课程
  • 在 Colab 或 SageMaker Studio Lab 上不加配置直接跑通全书代码

Setup time & first value

How long it actually takes to get something useful out of D2l Zh — broken out by persona, not the marketing-page minute.

在线版零安装:打开 Colab 或 SageMaker Studio Lab 直接运行任意小节,几分钟内可看到第一个训练结果。本地运行需自行装 Python 与框架(PyTorch/MXNet/TensorFlow/PaddlePaddle 之一)及 d2l 包,通常半小时到一小时。作为课程教材,教师按章节组织一学期内容,取用现成课件与作业可省去大部分备课时间。

Switching to or from D2l Zh

How to bring data in from common predecessors and how to get it back out — written for the switcher, not the buyer.

Migrating in
  • →从吴恩达《深度学习专项课程》:偏理论的课程看完后转到 D2L,用可运行代码把同一批概念落地
  • →从《深度学习》(花书):理论推导读完转来练实现,第 4 章多层感知机与第 6 章 CNN 起点一致
Migrating out
  • ↗到前沿方向:学完第 14-15 章 BERT 后,转向 LLM 微调、扩散模型等 2023 年后的专门资料
  • ↗到框架官方文档:需要按 API 索引查函数用法时,改用 PyTorch/TensorFlow/PaddlePaddle 官方文档

Integrations

Jupyter NotebookPyTorchTensorFlowPaddlePaddleApache MXNetGoogle ColabAmazon SageMaker Studio LabAmazon SageMakerAmazon EC2GitHub

Tutorials & Learning

YouTube returned 6 videos for “D2l Zh”, and we withheld 6: 6 could not be judged, because “D2l Zh” is a single word that other videos use for other things. We are showing none, because we could not prove any of them are about D2l Zh.

Official links

What are the best D2l Zh alternatives?

The closest alternatives to D2l Zh we list are Dive Into DL PyTorch, LLMs From Scratch and Ai Engineering From Scratch. Ranked by direct product-type match, not category overlap.

Closest alternatives to D2l Zh
AlternativePricingStarts atLast verified
Dive Into DL PyTorchFreeFree18 Oct 2026
LLMs From ScratchPaid$0.9927 Nov 2026
Ai Engineering From ScratchFreeFree29 Nov 2026

Alternatives to D2l Zh

View all
Dive Into DL PyTorch

Dive Into DL PyTorch

Free Chinese-language PyTorch edition of Dive into Deep Learning, with runnable Jupyter notebooks for every chapter.

FreeTry
LLMs From Scratch

LLMs From Scratch

Learn to build a large language model from scratch in PyTorch — Raschka's code-first GPT-2 build, chapter by chapter

PaidTry
Ai Engineering From Scratch

Ai Engineering From Scratch

Free AI engineering course where you build backprop, tokenizers, attention and the agent loop from raw math before any framework import

FreeTry

D2l Zh vs its closest rival

D2l Zh's closest head-to-head is with Surge Ai.

Our D2l Zh vs Surge Ai verdict written Jul 3, 2026 is more than 90 days old, so it is being re-reviewed against current data and is not shown.

Frequently asked questions

For makers of D2l Zh

Used D2l Zh? Help shape our editorial sentiment research.