LogoAIAny
Icon for item

Dive into Deep Learning (d2l-en)

Notebook-first deep learning textbook that teaches concepts through runnable multi-framework code, math, and exercises. Includes lecture-ready notebooks, community contributions, and broad university adoption—designed for hands-on learners and instructors.

Introduction

Most deep-learning texts separate theory, math, and runnable code. This project flips that by drafting the entire book as Jupyter notebooks so exposition, equations, figures, and working code live together—letting you learn by implementing and experimenting rather than only reading. It’s widely adopted in university courses and designed to be updated collaboratively.

What Sets It Apart
  • Notebook-first pedagogy: Each chapter combines narrative, math, and executable examples so concepts are immediately testable — readers can run, tweak, and visualize experiments inline.
  • Multi-framework examples: Code examples are provided across popular deep-learning frameworks (PyTorch and others), making it easy to compare APIs and port ideas between frameworks.
  • Course-ready and community-driven: Ship-ready lecture notebooks, exercises, and solutions have led to adoption in hundreds of university courses; the project accepts community contributions to keep content current.
Who It's For & Trade-offs

Great fit if you want a learn-by-doing introduction to modern deep learning that you can use as course material or a practical self-study path. It’s particularly useful for students, instructors, and engineers who value runnable notebooks over abstract-only treatments. Look elsewhere if you need an exhaustive research monograph, highly optimized production training recipes, or a narrowly focused reference on one framework — the project emphasizes pedagogy and breadth over low-level production tuning.

Where It Fits

Think of this as the bridge between academic textbooks and hands-on course material: more practical and runnable than a classic theory text, but more structured and explanatory than a collection of isolated tutorials. Use it to teach a semester-long course, bootstrap projects, or learn core techniques by experimentation.

Information

  • Websitegithub.com
  • AuthorsAston Zhang, Zachary C. Lipton, Mu Li, Alexander J. Smola, D2L.ai community
  • Published date2018/10/09