🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 197 (from laksa187)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
1 day ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0.1 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://zh.d2l.ai/
Last Crawled2026-04-07 20:50:48 (1 day ago)
First Indexed2019-01-12 12:06:06 (7 years ago)
HTTP Status Code200
Meta Title《动手学深度学习》 — 动手学深度学习 2.0.0 documentation
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
本书(中英文版)被用作教材或参考书 Abasyn University, Islamabad Campus Alexandria University Amirkabir University of Technology Amity University Amrita Vishwa Vidyapeetham University Anna University Anna University Regional Campus Madurai Ateneo de Naga University Australian National University Bar-Ilan University Barnard College Beijing Foresty University Birla Institute of Technology and Science, Hyderabad Birla Institute of Technology and Science, Pilani BML Munjal University Boston College Boston University Brac University Brandeis University Brown University Brunel University London Cairo University California State University, Northridge Cankaya University Carnegie Mellon University Center for Research and Advanced Studies of the National Polytechnic Institute Chalmers University of Technology Chennai Mathematical Institute Chouaib Doukkali University Chulalongkorn University City College of New York City University of Hong Kong City University of Science and Information Technology College of Engineering Pune Columbia University Cornell University Cyprus Institute Deakin University Diponegoro University Dresden University of Technology Duke University Durban University of Technology Eastern Mediterranean University Ecole Nationale Supérieure d'Informatique Ecole Nationale Supérieure de Cognitique École Nationale Supérieure de Techniques Avancées Eindhoven University of Technology Emory University Eötvös Loránd University Escuela Politécnica Nacional Escuela Superior Politecnica del Litoral Federal University Lokoja Feng Chia University Fisk University Florida Atlantic University FPT University Fudan University Ganpat University Gayatri Vidya Parishad College of Engineering (Autonomous) Gazi Üniversitesi Gdańsk University of Technology George Mason University Georgetown University Georgia Institute of Technology Gheorghe Asachi Technical University of Iaşi Golden Gate University Great Lakes Institute of Management Gwangju Institute of Science and Technology Habib University Hamad Bin Khalifa University Hangzhou Dianzi University Hangzhou Dianzi University Hankuk University of Foreign Studies Harare Institute of Technology Harbin Institute of Technology Harvard University Hasso-Plattner-Institut Hebrew University of Jerusalem Heinrich-Heine-Universität Düsseldorf Henan Institute of Technology Hertie School Higher Institute of Applied Science and Technology of Sousse Hiroshima University Ho Chi Minh City University of Foreign Languages and Information Technology Hochschule Bremen Hochschule für Technik und Wirtschaft Hochschule Hamm-Lippstadt Hong Kong University of Science and Technology Houston Community College Huazhong University of Science and Technology Humboldt-Universität zu Berlin İbn Haldun Üniversitesi Icahn School of Medicine at Mount Sinai Imperial College London IMT Mines Alès Indian Institute of Technology Bombay Indian Institute of Technology Hyderabad Indian Institute of Technology Jodhpur Indian Institute of Technology Kanpur Indian Institute of Technology Kharagpur Indian Institute of Technology Mandi Indian Institute of Technology Ropar Indian School of Business Indira Gandhi National Open University Indraprastha Institute of Information Technology, Delhi Institut catholique d'arts et métiers (ICAM) Institut de recherche en informatique de Toulouse Institut Supérieur d'Informatique et des Techniques de Communication Institut Supérieur De L'electronique Et Du Numérique Institut Teknologi Bandung Instituto Federal de Educação, Ciência e Tecnologia de São Paulo, Campus Salto Instituto Politécnico Nacional Instituto Tecnológico Autónomo de México Instituto Tecnológico de Buenos Aires Islamic University of Medina İstanbul Teknik Üniversitesi IT-Universitetet i København Ivan Franko National University of Lviv Jeonbuk National Univerity Johns Hopkins University Julius-Maximilians-Universität Würzburg Keio University King Abdullah University of Science and Technology King Fahd University of Petroleum and Minerals King Faisal University Kongu Engineering College Korea Aerospace University KPR Institute of Engineering and Technology Kyungpook National University Lancaster University Leading Unviersity Leibniz Universität Hannover Leuphana University of Lüneburg London School of Economics & Political Science M.S.Ramaiah University of Applied Sciences Make School Masaryk University Massachusetts Institute of Technology Maynooth University McGill University Menoufia University Milwaukee School of Engineering Minia University Mississippi State University Missouri University of Science and Technology Mohammad Ali Jinnah University Mohammed V University in Rabat Monash University Multimedia University Murdoch University Nanchang Hangkong University Nanjing Medical University Nanjing University National Institute of Technology Trichy National Technical University of Athens National Technical University of Ukraine National University of Sciences and Technology National University of Singapore Nazarbayev University New Jersey Institute of Technology New Mexico Institute of Mining and Technology New Mexico State University New York University Newman University North Ossetian State University NorthCap University Northeastern University Northwestern Polytechnical University Northwestern University Ohio University Pakuan University Peking University Pennsylvania State University Pohang University of Science and Technology Politechnika Białostocka Politecnico di Milano Politeknik Negeri Semarang Pomona College Pontificia Universidad Católica de Chile Pontificia Universidad Católica del Perú Portland State University Punjabi University Purdue University Purdue University Northwest Quaid-e-Azam University Queen Mary University of London Queen's University Radboud Universiteit Radboud University Rajiv Gandhi Institute of Petroleum Technology Rensselaer Polytechnic Institute Rowan University Rutgers, The State University of New Jersey RVS Institute of Management Studies and Research RWTH Aachen University Sant Longowal Institute of Engineering Technology Santa Clara University Sapienza Università di Roma Seoul National University Seoul National University of Science and Technology Shanghai Jiao Tong University Shanghai University of Electric Power Shanghai University of Finance and Economics Shantilal Shah Engineering College Sharif University of Technology Shenzhen University Shivaji University, Kolhapur Simon Fraser University Singapore University of Technology and Design Sogang University Sookmyung Women's University Southern Connecticut State University Southern New Hampshire University St. Pölten University of Applied Sciences Stanford University State University of New York at Albany State University of New York at Binghamton State University of New York at Fredonia Stellenbosch University Stevens Institute of Technology Sungkyunkwan University Technion - Israel Institute of Technology Technische Universität Berlin Technische Universität München Technische Universiteit Delft Tecnológico de Monterrey, Campus Guadalajara Tekirdağ Namık Kemal Üniversitesi Télécom Paris Telkom University Texas A&M University Thapar Institute of Engineering and Technology Tsinghua University Tufts University Umeå University Universidad Carlos III de Madrid Universidad de Ibagué Universidad de Ingeniería y Tecnología - UTEC Universidad de Salamanca Universidad de Zaragoza Universidad del Norte, Colombia Universidad Icesi Universidad Militar Nueva Granada Universidad Nacional Agraria La Molina Universidad Nacional Autónoma de México Universidad Nacional de Colombia Sede Manizales Universidad Nacional de Tierra del Fuego Universidad Politécnica de Chiapas Universidad Politécnica de Valencia Universidad Politécnica Salesiana, Cuenca Universidad Rafael Landivar Universidad Rey Juan Carlos Universidad San Francisco de Quito Universidad Tecnológica de Pereira Universidad Tecnológica Nacional Universidade Católica de Brasília Universidade Estadual de Campinas Universidade Federal de Goiás Universidade Federal de Minas Gerais Universidade Federal de Ouro Preto Universidade Federal de Pernambuco Universidade Federal de São Carlos Universidade Federal de Viçosa Universidade Federal do Pampa Universidade Federal do Rio Grande Universidade NOVA de Lisboa Universidade Presbiteriana Mackenzie Universidade Tecnológica Federal do Paraná Università Cattolica del Sacro Cuore Università degli Studi di Bari Aldo Moro Università degli Studi di Brescia Università degli Studi di Catania Università degli Studi di Padova Universitas Andalas, Padang Universitas Indonesia Universitas Negeri Yogyakarta Universitas Udayana Universität Bremen Universitat de Barcelona Universitat de València Universität Heidelberg Universität Leipzig Universitat Politècnica de Catalunya Universitatea Babeș-Bolyai Universitatea de Vest din Timișoara Université Abderrahmane Mira de Béjaïa Université Clermont Auvergne Université Côte d'Azur Université de Caen Normandie Université de Rouen Normandie Université de technologie de Compiègne Université Paris-Saclay Université Toulouse 1 Capitole University of Akron University of Alabama in Huntsville University of Allahabad University of Applied Sciences Würzburg-Schweinfurt University of Arkansas University of Augsburg University of Baghdad University of Bath University of Bordj Bou Arreridj University of British Columbia University of California, Berkeley University of California, Irvine University of California, Los Angeles University of California, San Diego University of California, Santa Barbara University of California, Santa Cruz University of Cambridge University of Canberra University of Catania University of Cincinnati University of Colorado Boulder University of Connecticut University of Copenhagen University of Derby University of Florida University of Genoa University of Ghana University of Groningen University of Hamburg University of Houston University of Hull University of Iceland University of Idaho University of Illinois at Urbana-Champaign University of International Business and Economics University of Klagenfurt University of Liège University of Louisiana at Lafayette University of Maryland University of Maryland Baltimore County University of Massachusetts Lowell University of Michigan University of Michigan Dearborn University of Milano-Bicocca University of Minnesota, Twin Cities University of Moratuwa University of Nebraska Omaha University of New Hampshire University of Newcastle University of North Carolina at Chapel Hill University of North Texas University of Northern Philippines University of Nottingham University of Oslo University of Pennsylvania University of Pittsburgh University of Rostock University of São Paulo University of Science and Technology of China University of Southern California University of Southern Maine University of St Andrews University of St. Thomas University of Suffolk University of Sydney University of Szeged University of Technology Sydney University of Tehran University of Texas at Austin University of Texas at Dallas University of Texas Rio Grande Valley University of Udine University of Warsaw University of Washington University of Waterloo University of Wisconsin Madison Univerzita Komenského v Bratislave Uniwersytet Jagielloński Vardhaman College of Engineering Vardhman Mahaveer Open University Vietnamese-German University Vignana Jyothi Institute Of Management Vilnius University Wageningen University West Virginia University Western University Wichita State University Xavier University Bhubaneswar Xi'an Jiaotong Liverpool University Xiamen University Xianning Vocational Technical College Yale University Yeshiva University Yıldız Teknik Üniversitesi Yonsei University Yunnan University Zhejiang University
Markdown
** [《动手学深度学习》]() [*code*](https://zh.d2l.ai/_sources/index.rst.txt) Show Source [MXNet](https://zh-v2.d2l.ai/d2l-zh.pdf) [PyTorch](https://zh-v2.d2l.ai/d2l-zh-pytorch.pdf) [Jupyter 记事本](https://zh-v2.d2l.ai/d2l-zh.zip) [课程](https://courses.d2l.ai/zh-v2/) [GitHub](https://github.com/d2l-ai/d2l-zh) [English](https://d2l.ai/) [![动手学深度学习](https://zh.d2l.ai/_static/logo-with-text.png)](https://zh.d2l.ai/) Table Of Contents - [前言](https://zh.d2l.ai/chapter_preface/index.html) - [安装](https://zh.d2l.ai/chapter_installation/index.html) - [符号](https://zh.d2l.ai/chapter_notation/index.html) - [1\. 引言](https://zh.d2l.ai/chapter_introduction/index.html) - [2\. 预备知识](https://zh.d2l.ai/chapter_preliminaries/index.html)[*keyboard\_arrow\_down*]() - [2\.1. 数据操作](https://zh.d2l.ai/chapter_preliminaries/ndarray.html) - [2\.2. 数据预处理](https://zh.d2l.ai/chapter_preliminaries/pandas.html) - [2\.3. 线性代数](https://zh.d2l.ai/chapter_preliminaries/linear-algebra.html) - [2\.4. 微积分](https://zh.d2l.ai/chapter_preliminaries/calculus.html) - [2\.5. 自动微分](https://zh.d2l.ai/chapter_preliminaries/autograd.html) - [2\.6. 概率](https://zh.d2l.ai/chapter_preliminaries/probability.html) - [2\.7. 查阅文档](https://zh.d2l.ai/chapter_preliminaries/lookup-api.html) - [3\. 线性神经网络](https://zh.d2l.ai/chapter_linear-networks/index.html)[*keyboard\_arrow\_down*]() - [3\.1. 线性回归](https://zh.d2l.ai/chapter_linear-networks/linear-regression.html) - [3\.2. 线性回归的从零开始实现](https://zh.d2l.ai/chapter_linear-networks/linear-regression-scratch.html) - [3\.3. 线性回归的简洁实现](https://zh.d2l.ai/chapter_linear-networks/linear-regression-concise.html) - [3\.4. softmax回归](https://zh.d2l.ai/chapter_linear-networks/softmax-regression.html) - [3\.5. 图像分类数据集](https://zh.d2l.ai/chapter_linear-networks/image-classification-dataset.html) - [3\.6. softmax回归的从零开始实现](https://zh.d2l.ai/chapter_linear-networks/softmax-regression-scratch.html) - [3\.7. softmax回归的简洁实现](https://zh.d2l.ai/chapter_linear-networks/softmax-regression-concise.html) - [4\. 多层感知机](https://zh.d2l.ai/chapter_multilayer-perceptrons/index.html)[*keyboard\_arrow\_down*]() - [4\.1. 多层感知机](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp.html) - [4\.2. 多层感知机的从零开始实现](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp-scratch.html) - [4\.3. 多层感知机的简洁实现](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp-concise.html) - [4\.4. 模型选择、欠拟合和过拟合](https://zh.d2l.ai/chapter_multilayer-perceptrons/underfit-overfit.html) - [4\.5. 权重衰减](https://zh.d2l.ai/chapter_multilayer-perceptrons/weight-decay.html) - [4\.6. 暂退法(Dropout)](https://zh.d2l.ai/chapter_multilayer-perceptrons/dropout.html) - [4\.7. 前向传播、反向传播和计算图](https://zh.d2l.ai/chapter_multilayer-perceptrons/backprop.html) - [4\.8. 数值稳定性和模型初始化](https://zh.d2l.ai/chapter_multilayer-perceptrons/numerical-stability-and-init.html) - [4\.9. 环境和分布偏移](https://zh.d2l.ai/chapter_multilayer-perceptrons/environment.html) - [4\.10. 实战Kaggle比赛:预测房价](https://zh.d2l.ai/chapter_multilayer-perceptrons/kaggle-house-price.html) - [5\. 深度学习计算](https://zh.d2l.ai/chapter_deep-learning-computation/index.html)[*keyboard\_arrow\_down*]() - [5\.1. 层和块](https://zh.d2l.ai/chapter_deep-learning-computation/model-construction.html) - [5\.2. 参数管理](https://zh.d2l.ai/chapter_deep-learning-computation/parameters.html) - [5\.3. 延后初始化](https://zh.d2l.ai/chapter_deep-learning-computation/deferred-init.html) - [5\.4. 自定义层](https://zh.d2l.ai/chapter_deep-learning-computation/custom-layer.html) - [5\.5. 读写文件](https://zh.d2l.ai/chapter_deep-learning-computation/read-write.html) - [5\.6. GPU](https://zh.d2l.ai/chapter_deep-learning-computation/use-gpu.html) - [6\. 卷积神经网络](https://zh.d2l.ai/chapter_convolutional-neural-networks/index.html)[*keyboard\_arrow\_down*]() - [6\.1. 从全连接层到卷积](https://zh.d2l.ai/chapter_convolutional-neural-networks/why-conv.html) - [6\.2. 图像卷积](https://zh.d2l.ai/chapter_convolutional-neural-networks/conv-layer.html) - [6\.3. 填充和步幅](https://zh.d2l.ai/chapter_convolutional-neural-networks/padding-and-strides.html) - [6\.4. 多输入多输出通道](https://zh.d2l.ai/chapter_convolutional-neural-networks/channels.html) - [6\.5. 汇聚层](https://zh.d2l.ai/chapter_convolutional-neural-networks/pooling.html) - [6\.6. 卷积神经网络(LeNet)](https://zh.d2l.ai/chapter_convolutional-neural-networks/lenet.html) - [7\. 现代卷积神经网络](https://zh.d2l.ai/chapter_convolutional-modern/index.html)[*keyboard\_arrow\_down*]() - [7\.1. 深度卷积神经网络(AlexNet)](https://zh.d2l.ai/chapter_convolutional-modern/alexnet.html) - [7\.2. 使用块的网络(VGG)](https://zh.d2l.ai/chapter_convolutional-modern/vgg.html) - [7\.3. 网络中的网络(NiN)](https://zh.d2l.ai/chapter_convolutional-modern/nin.html) - [7\.4. 含并行连结的网络(GoogLeNet)](https://zh.d2l.ai/chapter_convolutional-modern/googlenet.html) - [7\.5. 批量规范化](https://zh.d2l.ai/chapter_convolutional-modern/batch-norm.html) - [7\.6. 残差网络(ResNet)](https://zh.d2l.ai/chapter_convolutional-modern/resnet.html) - [7\.7. 稠密连接网络(DenseNet)](https://zh.d2l.ai/chapter_convolutional-modern/densenet.html) - [8\. 循环神经网络](https://zh.d2l.ai/chapter_recurrent-neural-networks/index.html)[*keyboard\_arrow\_down*]() - [8\.1. 序列模型](https://zh.d2l.ai/chapter_recurrent-neural-networks/sequence.html) - [8\.2. 文本预处理](https://zh.d2l.ai/chapter_recurrent-neural-networks/text-preprocessing.html) - [8\.3. 语言模型和数据集](https://zh.d2l.ai/chapter_recurrent-neural-networks/language-models-and-dataset.html) - [8\.4. 循环神经网络](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn.html) - [8\.5. 循环神经网络的从零开始实现](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn-scratch.html) - [8\.6. 循环神经网络的简洁实现](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn-concise.html) - [8\.7. 通过时间反向传播](https://zh.d2l.ai/chapter_recurrent-neural-networks/bptt.html) - [9\. 现代循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/index.html)[*keyboard\_arrow\_down*]() - [9\.1. 门控循环单元(GRU)](https://zh.d2l.ai/chapter_recurrent-modern/gru.html) - [9\.2. 长短期记忆网络(LSTM)](https://zh.d2l.ai/chapter_recurrent-modern/lstm.html) - [9\.3. 深度循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/deep-rnn.html) - [9\.4. 双向循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/bi-rnn.html) - [9\.5. 机器翻译与数据集](https://zh.d2l.ai/chapter_recurrent-modern/machine-translation-and-dataset.html) - [9\.6. 编码器-解码器架构](https://zh.d2l.ai/chapter_recurrent-modern/encoder-decoder.html) - [9\.7. 序列到序列学习(seq2seq)](https://zh.d2l.ai/chapter_recurrent-modern/seq2seq.html) - [9\.8. 束搜索](https://zh.d2l.ai/chapter_recurrent-modern/beam-search.html) - [10\. 注意力机制](https://zh.d2l.ai/chapter_attention-mechanisms/index.html)[*keyboard\_arrow\_down*]() - [10\.1. 注意力提示](https://zh.d2l.ai/chapter_attention-mechanisms/attention-cues.html) - [10\.2. 注意力汇聚:Nadaraya-Watson 核回归](https://zh.d2l.ai/chapter_attention-mechanisms/nadaraya-waston.html) - [10\.3. 注意力评分函数](https://zh.d2l.ai/chapter_attention-mechanisms/attention-scoring-functions.html) - [10\.4. Bahdanau 注意力](https://zh.d2l.ai/chapter_attention-mechanisms/bahdanau-attention.html) - [10\.5. 多头注意力](https://zh.d2l.ai/chapter_attention-mechanisms/multihead-attention.html) - [10\.6. 自注意力和位置编码](https://zh.d2l.ai/chapter_attention-mechanisms/self-attention-and-positional-encoding.html) - [10\.7. Transformer](https://zh.d2l.ai/chapter_attention-mechanisms/transformer.html) - [11\. 优化算法](https://zh.d2l.ai/chapter_optimization/index.html)[*keyboard\_arrow\_down*]() - [11\.1. 优化和深度学习](https://zh.d2l.ai/chapter_optimization/optimization-intro.html) - [11\.2. 凸性](https://zh.d2l.ai/chapter_optimization/convexity.html) - [11\.3. 梯度下降](https://zh.d2l.ai/chapter_optimization/gd.html) - [11\.4. 随机梯度下降](https://zh.d2l.ai/chapter_optimization/sgd.html) - [11\.5. 小批量随机梯度下降](https://zh.d2l.ai/chapter_optimization/minibatch-sgd.html) - [11\.6. 动量法](https://zh.d2l.ai/chapter_optimization/momentum.html) - [11\.7. AdaGrad算法](https://zh.d2l.ai/chapter_optimization/adagrad.html) - [11\.8. RMSProp算法](https://zh.d2l.ai/chapter_optimization/rmsprop.html) - [11\.9. Adadelta](https://zh.d2l.ai/chapter_optimization/adadelta.html) - [11\.10. Adam算法](https://zh.d2l.ai/chapter_optimization/adam.html) - [11\.11. 学习率调度器](https://zh.d2l.ai/chapter_optimization/lr-scheduler.html) - [12\. 计算性能](https://zh.d2l.ai/chapter_computational-performance/index.html)[*keyboard\_arrow\_down*]() - [12\.1. 编译器和解释器](https://zh.d2l.ai/chapter_computational-performance/hybridize.html) - [12\.2. 异步计算](https://zh.d2l.ai/chapter_computational-performance/async-computation.html) - [12\.3. 自动并行](https://zh.d2l.ai/chapter_computational-performance/auto-parallelism.html) - [12\.4. 硬件](https://zh.d2l.ai/chapter_computational-performance/hardware.html) - [12\.5. 多GPU训练](https://zh.d2l.ai/chapter_computational-performance/multiple-gpus.html) - [12\.6. 多GPU的简洁实现](https://zh.d2l.ai/chapter_computational-performance/multiple-gpus-concise.html) - [12\.7. 参数服务器](https://zh.d2l.ai/chapter_computational-performance/parameterserver.html) - [13\. 计算机视觉](https://zh.d2l.ai/chapter_computer-vision/index.html)[*keyboard\_arrow\_down*]() - [13\.1. 图像增广](https://zh.d2l.ai/chapter_computer-vision/image-augmentation.html) - [13\.2. 微调](https://zh.d2l.ai/chapter_computer-vision/fine-tuning.html) - [13\.3. 目标检测和边界框](https://zh.d2l.ai/chapter_computer-vision/bounding-box.html) - [13\.4. 锚框](https://zh.d2l.ai/chapter_computer-vision/anchor.html) - [13\.5. 多尺度目标检测](https://zh.d2l.ai/chapter_computer-vision/multiscale-object-detection.html) - [13\.6. 目标检测数据集](https://zh.d2l.ai/chapter_computer-vision/object-detection-dataset.html) - [13\.7. 单发多框检测(SSD)](https://zh.d2l.ai/chapter_computer-vision/ssd.html) - [13\.8. 区域卷积神经网络(R-CNN)系列](https://zh.d2l.ai/chapter_computer-vision/rcnn.html) - [13\.9. 语义分割和数据集](https://zh.d2l.ai/chapter_computer-vision/semantic-segmentation-and-dataset.html) - [13\.10. 转置卷积](https://zh.d2l.ai/chapter_computer-vision/transposed-conv.html) - [13\.11. 全卷积网络](https://zh.d2l.ai/chapter_computer-vision/fcn.html) - [13\.12. 风格迁移](https://zh.d2l.ai/chapter_computer-vision/neural-style.html) - [13\.13. 实战 Kaggle 比赛:图像分类 (CIFAR-10)](https://zh.d2l.ai/chapter_computer-vision/kaggle-cifar10.html) - [13\.14. 实战Kaggle比赛:狗的品种识别(ImageNet Dogs)](https://zh.d2l.ai/chapter_computer-vision/kaggle-dog.html) - [14\. 自然语言处理:预训练](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/index.html)[*keyboard\_arrow\_down*]() - [14\.1. 词嵌入(word2vec)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word2vec.html) - [14\.2. 近似训练](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/approx-training.html) - [14\.3. 用于预训练词嵌入的数据集](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word-embedding-dataset.html) - [14\.4. 预训练word2vec](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word2vec-pretraining.html) - [14\.5. 全局向量的词嵌入(GloVe)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/glove.html) - [14\.6. 子词嵌入](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/subword-embedding.html) - [14\.7. 词的相似性和类比任务](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/similarity-analogy.html) - [14\.8. 来自Transformers的双向编码器表示(BERT)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert.html) - [14\.9. 用于预训练BERT的数据集](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert-dataset.html) - [14\.10. 预训练BERT](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert-pretraining.html) - [15\. 自然语言处理:应用](https://zh.d2l.ai/chapter_natural-language-processing-applications/index.html)[*keyboard\_arrow\_down*]() - [15\.1. 情感分析及数据集](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-and-dataset.html) - [15\.2. 情感分析:使用循环神经网络](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-rnn.html) - [15\.3. 情感分析:使用卷积神经网络](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-cnn.html) - [15\.4. 自然语言推断与数据集](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-and-dataset.html) - [15\.5. 自然语言推断:使用注意力](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-attention.html) - [15\.6. 针对序列级和词元级应用微调BERT](https://zh.d2l.ai/chapter_natural-language-processing-applications/finetuning-bert.html) - [15\.7. 自然语言推断:微调BERT](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-bert.html) - [16\. 附录:深度学习工具](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/index.html)[*keyboard\_arrow\_down*]() - [16\.1. 使用Jupyter Notebook](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/jupyter.html) - [16\.2. 使用Amazon SageMaker](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/sagemaker.html) - [16\.3. 使用Amazon EC2实例](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/aws.html) - [16\.4. 选择服务器和GPU](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.html) - [16\.5. 为本书做贡献](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/contributing.html) - [16\.6. `d2l` API 文档](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/d2l.html) - [参考文献](https://zh.d2l.ai/chapter_references/zreferences.html) [![动手学深度学习](https://zh.d2l.ai/_static/logo-with-text.png)](https://zh.d2l.ai/) Table Of Contents - [前言](https://zh.d2l.ai/chapter_preface/index.html) - [安装](https://zh.d2l.ai/chapter_installation/index.html) - [符号](https://zh.d2l.ai/chapter_notation/index.html) - [1\. 引言](https://zh.d2l.ai/chapter_introduction/index.html) - [2\. 预备知识](https://zh.d2l.ai/chapter_preliminaries/index.html)[*keyboard\_arrow\_down*]() - [2\.1. 数据操作](https://zh.d2l.ai/chapter_preliminaries/ndarray.html) - [2\.2. 数据预处理](https://zh.d2l.ai/chapter_preliminaries/pandas.html) - [2\.3. 线性代数](https://zh.d2l.ai/chapter_preliminaries/linear-algebra.html) - [2\.4. 微积分](https://zh.d2l.ai/chapter_preliminaries/calculus.html) - [2\.5. 自动微分](https://zh.d2l.ai/chapter_preliminaries/autograd.html) - [2\.6. 概率](https://zh.d2l.ai/chapter_preliminaries/probability.html) - [2\.7. 查阅文档](https://zh.d2l.ai/chapter_preliminaries/lookup-api.html) - [3\. 线性神经网络](https://zh.d2l.ai/chapter_linear-networks/index.html)[*keyboard\_arrow\_down*]() - [3\.1. 线性回归](https://zh.d2l.ai/chapter_linear-networks/linear-regression.html) - [3\.2. 线性回归的从零开始实现](https://zh.d2l.ai/chapter_linear-networks/linear-regression-scratch.html) - [3\.3. 线性回归的简洁实现](https://zh.d2l.ai/chapter_linear-networks/linear-regression-concise.html) - [3\.4. softmax回归](https://zh.d2l.ai/chapter_linear-networks/softmax-regression.html) - [3\.5. 图像分类数据集](https://zh.d2l.ai/chapter_linear-networks/image-classification-dataset.html) - [3\.6. softmax回归的从零开始实现](https://zh.d2l.ai/chapter_linear-networks/softmax-regression-scratch.html) - [3\.7. softmax回归的简洁实现](https://zh.d2l.ai/chapter_linear-networks/softmax-regression-concise.html) - [4\. 多层感知机](https://zh.d2l.ai/chapter_multilayer-perceptrons/index.html)[*keyboard\_arrow\_down*]() - [4\.1. 多层感知机](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp.html) - [4\.2. 多层感知机的从零开始实现](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp-scratch.html) - [4\.3. 多层感知机的简洁实现](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp-concise.html) - [4\.4. 模型选择、欠拟合和过拟合](https://zh.d2l.ai/chapter_multilayer-perceptrons/underfit-overfit.html) - [4\.5. 权重衰减](https://zh.d2l.ai/chapter_multilayer-perceptrons/weight-decay.html) - [4\.6. 暂退法(Dropout)](https://zh.d2l.ai/chapter_multilayer-perceptrons/dropout.html) - [4\.7. 前向传播、反向传播和计算图](https://zh.d2l.ai/chapter_multilayer-perceptrons/backprop.html) - [4\.8. 数值稳定性和模型初始化](https://zh.d2l.ai/chapter_multilayer-perceptrons/numerical-stability-and-init.html) - [4\.9. 环境和分布偏移](https://zh.d2l.ai/chapter_multilayer-perceptrons/environment.html) - [4\.10. 实战Kaggle比赛:预测房价](https://zh.d2l.ai/chapter_multilayer-perceptrons/kaggle-house-price.html) - [5\. 深度学习计算](https://zh.d2l.ai/chapter_deep-learning-computation/index.html)[*keyboard\_arrow\_down*]() - [5\.1. 层和块](https://zh.d2l.ai/chapter_deep-learning-computation/model-construction.html) - [5\.2. 参数管理](https://zh.d2l.ai/chapter_deep-learning-computation/parameters.html) - [5\.3. 延后初始化](https://zh.d2l.ai/chapter_deep-learning-computation/deferred-init.html) - [5\.4. 自定义层](https://zh.d2l.ai/chapter_deep-learning-computation/custom-layer.html) - [5\.5. 读写文件](https://zh.d2l.ai/chapter_deep-learning-computation/read-write.html) - [5\.6. GPU](https://zh.d2l.ai/chapter_deep-learning-computation/use-gpu.html) - [6\. 卷积神经网络](https://zh.d2l.ai/chapter_convolutional-neural-networks/index.html)[*keyboard\_arrow\_down*]() - [6\.1. 从全连接层到卷积](https://zh.d2l.ai/chapter_convolutional-neural-networks/why-conv.html) - [6\.2. 图像卷积](https://zh.d2l.ai/chapter_convolutional-neural-networks/conv-layer.html) - [6\.3. 填充和步幅](https://zh.d2l.ai/chapter_convolutional-neural-networks/padding-and-strides.html) - [6\.4. 多输入多输出通道](https://zh.d2l.ai/chapter_convolutional-neural-networks/channels.html) - [6\.5. 汇聚层](https://zh.d2l.ai/chapter_convolutional-neural-networks/pooling.html) - [6\.6. 卷积神经网络(LeNet)](https://zh.d2l.ai/chapter_convolutional-neural-networks/lenet.html) - [7\. 现代卷积神经网络](https://zh.d2l.ai/chapter_convolutional-modern/index.html)[*keyboard\_arrow\_down*]() - [7\.1. 深度卷积神经网络(AlexNet)](https://zh.d2l.ai/chapter_convolutional-modern/alexnet.html) - [7\.2. 使用块的网络(VGG)](https://zh.d2l.ai/chapter_convolutional-modern/vgg.html) - [7\.3. 网络中的网络(NiN)](https://zh.d2l.ai/chapter_convolutional-modern/nin.html) - [7\.4. 含并行连结的网络(GoogLeNet)](https://zh.d2l.ai/chapter_convolutional-modern/googlenet.html) - [7\.5. 批量规范化](https://zh.d2l.ai/chapter_convolutional-modern/batch-norm.html) - [7\.6. 残差网络(ResNet)](https://zh.d2l.ai/chapter_convolutional-modern/resnet.html) - [7\.7. 稠密连接网络(DenseNet)](https://zh.d2l.ai/chapter_convolutional-modern/densenet.html) - [8\. 循环神经网络](https://zh.d2l.ai/chapter_recurrent-neural-networks/index.html)[*keyboard\_arrow\_down*]() - [8\.1. 序列模型](https://zh.d2l.ai/chapter_recurrent-neural-networks/sequence.html) - [8\.2. 文本预处理](https://zh.d2l.ai/chapter_recurrent-neural-networks/text-preprocessing.html) - [8\.3. 语言模型和数据集](https://zh.d2l.ai/chapter_recurrent-neural-networks/language-models-and-dataset.html) - [8\.4. 循环神经网络](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn.html) - [8\.5. 循环神经网络的从零开始实现](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn-scratch.html) - [8\.6. 循环神经网络的简洁实现](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn-concise.html) - [8\.7. 通过时间反向传播](https://zh.d2l.ai/chapter_recurrent-neural-networks/bptt.html) - [9\. 现代循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/index.html)[*keyboard\_arrow\_down*]() - [9\.1. 门控循环单元(GRU)](https://zh.d2l.ai/chapter_recurrent-modern/gru.html) - [9\.2. 长短期记忆网络(LSTM)](https://zh.d2l.ai/chapter_recurrent-modern/lstm.html) - [9\.3. 深度循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/deep-rnn.html) - [9\.4. 双向循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/bi-rnn.html) - [9\.5. 机器翻译与数据集](https://zh.d2l.ai/chapter_recurrent-modern/machine-translation-and-dataset.html) - [9\.6. 编码器-解码器架构](https://zh.d2l.ai/chapter_recurrent-modern/encoder-decoder.html) - [9\.7. 序列到序列学习(seq2seq)](https://zh.d2l.ai/chapter_recurrent-modern/seq2seq.html) - [9\.8. 束搜索](https://zh.d2l.ai/chapter_recurrent-modern/beam-search.html) - [10\. 注意力机制](https://zh.d2l.ai/chapter_attention-mechanisms/index.html)[*keyboard\_arrow\_down*]() - [10\.1. 注意力提示](https://zh.d2l.ai/chapter_attention-mechanisms/attention-cues.html) - [10\.2. 注意力汇聚:Nadaraya-Watson 核回归](https://zh.d2l.ai/chapter_attention-mechanisms/nadaraya-waston.html) - [10\.3. 注意力评分函数](https://zh.d2l.ai/chapter_attention-mechanisms/attention-scoring-functions.html) - [10\.4. Bahdanau 注意力](https://zh.d2l.ai/chapter_attention-mechanisms/bahdanau-attention.html) - [10\.5. 多头注意力](https://zh.d2l.ai/chapter_attention-mechanisms/multihead-attention.html) - [10\.6. 自注意力和位置编码](https://zh.d2l.ai/chapter_attention-mechanisms/self-attention-and-positional-encoding.html) - [10\.7. Transformer](https://zh.d2l.ai/chapter_attention-mechanisms/transformer.html) - [11\. 优化算法](https://zh.d2l.ai/chapter_optimization/index.html)[*keyboard\_arrow\_down*]() - [11\.1. 优化和深度学习](https://zh.d2l.ai/chapter_optimization/optimization-intro.html) - [11\.2. 凸性](https://zh.d2l.ai/chapter_optimization/convexity.html) - [11\.3. 梯度下降](https://zh.d2l.ai/chapter_optimization/gd.html) - [11\.4. 随机梯度下降](https://zh.d2l.ai/chapter_optimization/sgd.html) - [11\.5. 小批量随机梯度下降](https://zh.d2l.ai/chapter_optimization/minibatch-sgd.html) - [11\.6. 动量法](https://zh.d2l.ai/chapter_optimization/momentum.html) - [11\.7. AdaGrad算法](https://zh.d2l.ai/chapter_optimization/adagrad.html) - [11\.8. RMSProp算法](https://zh.d2l.ai/chapter_optimization/rmsprop.html) - [11\.9. Adadelta](https://zh.d2l.ai/chapter_optimization/adadelta.html) - [11\.10. Adam算法](https://zh.d2l.ai/chapter_optimization/adam.html) - [11\.11. 学习率调度器](https://zh.d2l.ai/chapter_optimization/lr-scheduler.html) - [12\. 计算性能](https://zh.d2l.ai/chapter_computational-performance/index.html)[*keyboard\_arrow\_down*]() - [12\.1. 编译器和解释器](https://zh.d2l.ai/chapter_computational-performance/hybridize.html) - [12\.2. 异步计算](https://zh.d2l.ai/chapter_computational-performance/async-computation.html) - [12\.3. 自动并行](https://zh.d2l.ai/chapter_computational-performance/auto-parallelism.html) - [12\.4. 硬件](https://zh.d2l.ai/chapter_computational-performance/hardware.html) - [12\.5. 多GPU训练](https://zh.d2l.ai/chapter_computational-performance/multiple-gpus.html) - [12\.6. 多GPU的简洁实现](https://zh.d2l.ai/chapter_computational-performance/multiple-gpus-concise.html) - [12\.7. 参数服务器](https://zh.d2l.ai/chapter_computational-performance/parameterserver.html) - [13\. 计算机视觉](https://zh.d2l.ai/chapter_computer-vision/index.html)[*keyboard\_arrow\_down*]() - [13\.1. 图像增广](https://zh.d2l.ai/chapter_computer-vision/image-augmentation.html) - [13\.2. 微调](https://zh.d2l.ai/chapter_computer-vision/fine-tuning.html) - [13\.3. 目标检测和边界框](https://zh.d2l.ai/chapter_computer-vision/bounding-box.html) - [13\.4. 锚框](https://zh.d2l.ai/chapter_computer-vision/anchor.html) - [13\.5. 多尺度目标检测](https://zh.d2l.ai/chapter_computer-vision/multiscale-object-detection.html) - [13\.6. 目标检测数据集](https://zh.d2l.ai/chapter_computer-vision/object-detection-dataset.html) - [13\.7. 单发多框检测(SSD)](https://zh.d2l.ai/chapter_computer-vision/ssd.html) - [13\.8. 区域卷积神经网络(R-CNN)系列](https://zh.d2l.ai/chapter_computer-vision/rcnn.html) - [13\.9. 语义分割和数据集](https://zh.d2l.ai/chapter_computer-vision/semantic-segmentation-and-dataset.html) - [13\.10. 转置卷积](https://zh.d2l.ai/chapter_computer-vision/transposed-conv.html) - [13\.11. 全卷积网络](https://zh.d2l.ai/chapter_computer-vision/fcn.html) - [13\.12. 风格迁移](https://zh.d2l.ai/chapter_computer-vision/neural-style.html) - [13\.13. 实战 Kaggle 比赛:图像分类 (CIFAR-10)](https://zh.d2l.ai/chapter_computer-vision/kaggle-cifar10.html) - [13\.14. 实战Kaggle比赛:狗的品种识别(ImageNet Dogs)](https://zh.d2l.ai/chapter_computer-vision/kaggle-dog.html) - [14\. 自然语言处理:预训练](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/index.html)[*keyboard\_arrow\_down*]() - [14\.1. 词嵌入(word2vec)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word2vec.html) - [14\.2. 近似训练](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/approx-training.html) - [14\.3. 用于预训练词嵌入的数据集](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word-embedding-dataset.html) - [14\.4. 预训练word2vec](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word2vec-pretraining.html) - [14\.5. 全局向量的词嵌入(GloVe)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/glove.html) - [14\.6. 子词嵌入](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/subword-embedding.html) - [14\.7. 词的相似性和类比任务](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/similarity-analogy.html) - [14\.8. 来自Transformers的双向编码器表示(BERT)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert.html) - [14\.9. 用于预训练BERT的数据集](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert-dataset.html) - [14\.10. 预训练BERT](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert-pretraining.html) - [15\. 自然语言处理:应用](https://zh.d2l.ai/chapter_natural-language-processing-applications/index.html)[*keyboard\_arrow\_down*]() - [15\.1. 情感分析及数据集](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-and-dataset.html) - [15\.2. 情感分析:使用循环神经网络](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-rnn.html) - [15\.3. 情感分析:使用卷积神经网络](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-cnn.html) - [15\.4. 自然语言推断与数据集](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-and-dataset.html) - [15\.5. 自然语言推断:使用注意力](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-attention.html) - [15\.6. 针对序列级和词元级应用微调BERT](https://zh.d2l.ai/chapter_natural-language-processing-applications/finetuning-bert.html) - [15\.7. 自然语言推断:微调BERT](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-bert.html) - [16\. 附录:深度学习工具](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/index.html)[*keyboard\_arrow\_down*]() - [16\.1. 使用Jupyter Notebook](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/jupyter.html) - [16\.2. 使用Amazon SageMaker](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/sagemaker.html) - [16\.3. 使用Amazon EC2实例](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/aws.html) - [16\.4. 选择服务器和GPU](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.html) - [16\.5. 为本书做贡献](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/contributing.html) - [16\.6. `d2l` API 文档](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/d2l.html) - [参考文献](https://zh.d2l.ai/chapter_references/zreferences.html) # 《动手学深度学习》[¶](https://zh.d2l.ai/#id1 "Permalink to this heading") ![](https://zh.d2l.ai/_images/front.png) ## 《动手学深度学习》 第二版 跳转[第一版](https://zh-v1.d2l.ai/) 面向中文读者的能运行、可讨论的深度学习教科书 含 PyTorch、NumPy/MXNet、TensorFlow 和 PaddlePaddle 实现 被全球 70 多个国家 500 多所大学用于教学 ### 公告 - **【重磅升级,[新书榜第一](https://raw.githubusercontent.com/d2l-ai/d2l-zh/master/static/frontpage/_images/sales/jd-20230208-zh-6.png)】** 第二版纸质书——《动手学深度学习(PyTorch版)》(黑白平装版) 已在 [京东](https://item.jd.com/13628339.html)、 [当当](https://product.dangdang.com/29511471.html) 上架。 纸质书在内容上与在线版大致相同,但力求在样式、术语标注、语言表述、用词规范、标点以及图、表、章节的索引上符合出版标准和学术规范。 第二版在线内容新增PaddlePaddle实现。 关注本书的[中文开源项目](https://github.com/d2l-ai/d2l-zh)和[英文开源项目](https://github.com/d2l-ai/d2l-en)以及时获取最新信息。 - **【第一版纸质书】** 可在 [京东](https://item.jd.com/12613094.html)、 [当当](http://product.dangdang.com/27872783.html)、 [天猫](https://detail.tmall.com/item.htm?id=594937167055) 购买全彩精装版; 或者在 [京东](https://item.jd.com/12527061.html)、 [当当](http://product.dangdang.com/27871474.html)、 [天猫](https://detail.tmall.com/item.htm?id=594658766444) 购买黑白平装版。 \[[新书榜](https://raw.githubusercontent.com/d2l-ai/d2l-zh/v1/img/frontpage/jd-190715-zh.png)\] \[[关于样书](https://zhuanlan.zhihu.com/p/66689123)\] - **【免费资源】** 课件、作业、教学视频等资源可参考伯克利“深度学习导论” [课程大纲](https://courses.d2l.ai/berkeley-stat-157/syllabus.html) 中的链接([中文版课件](https://github.com/d2l-ai/berkeley-stat-157/tree/master/slides-zh))。 基于本书PyTorch版的教学视频在: [B站](https://space.bilibili.com/1567748478/channel/seriesdetail?sid=358497); 基于本书[较早草稿内容](https://github.com/d2l-ai/d2l-zh/archive/v0.61.zip)的教学视频在: [B站](https://space.bilibili.com/209599371/channel/seriesdetail?sid=1530293) 和 [Youtube](https://www.youtube.com/playlist?list=PLLbeS1kM6teJqdFzw1ICHfa4a1y0hg8Ax)。 ## 作者 ![](https://zh.d2l.ai/_images/aston.jpg) ### [阿斯顿·张](https://astonzhang.github.io/) 亚马逊 ![](https://zh.d2l.ai/_images/zack.jpg) ### [扎卡里 C. 立顿](http://zacklipton.com/) 美国卡内基梅隆大学、亚马逊 ![](https://zh.d2l.ai/_images/mu.jpg) ### [李沐](http://www.cs.cmu.edu/~muli/) 亚马逊 ![](https://zh.d2l.ai/_images/alex.jpg) ### [亚历山大 J. 斯莫拉](https://alex.smola.org/) 亚马逊 ## 第二卷章节作者 ![](https://zh.d2l.ai/_images/brent.jpg) ### [布伦特 沃尼斯](https://www.linkedin.com/in/brent-werness-1506471b7/) 亚马逊 *[深度学习的数学](http://d2l.ai/chapter_appendix-mathematics-for-deep-learning/index.html)* ![](https://zh.d2l.ai/_images/rachel.jpeg) ### [瑞潮儿·胡](https://www.linkedin.com/in/rachelsonghu/) 亚马逊 *[深度学习的数学](http://d2l.ai/chapter_appendix-mathematics-for-deep-learning/index.html)* ![](https://zh.d2l.ai/_images/shuai.jpg) ### [张帅](https://shuaizhang.tech/) 亚马逊 *[推荐系统](http://d2l.ai/chapter_recommender-systems/index.html)* ![](https://zh.d2l.ai/_images/yi.jpg) ### [郑毅](https://vanzytay.github.io/) 谷歌 *[推荐系统](http://d2l.ai/chapter_recommender-systems/index.html)* ## 框架改编者 ![](https://zh.d2l.ai/_images/anirudh.jpg) ### [阿尼如 达格](https://github.com/AnirudhDagar) 亚马逊 *PyTorch改编* ![](https://zh.d2l.ai/_images/yuan.jpg) ### [唐源](https://terrytangyuan.github.io/about/) Akuity *TensorFlow改编* ![](https://zh.d2l.ai/_images/wugaosheng.jpg) ### [吴高升](https://github.com/w5688414) 百度 *飞桨改编* ![](https://zh.d2l.ai/_images/huliujun.jpg) ### [胡刘俊](https://github.com/tensorfly-gpu) 百度 *飞桨改编* ![](https://zh.d2l.ai/_images/zhangge.jpg) ### [张戈](https://github.com/Shelly111111) 百度 *飞桨改编* ![](https://zh.d2l.ai/_images/xiejiehang.jpg) ### [谢杰航](https://github.com/JiehangXie) 百度 *飞桨改编* ## 中文版译者 ![](https://zh.d2l.ai/_images/xiaoting.jpg) ### [何孝霆](https://github.com/xiaotinghe) 亚马逊 ![](https://zh.d2l.ai/_images/rachel.jpeg) ### [瑞潮儿·胡](https://www.linkedin.com/in/rachelsonghu/) 亚马逊 ### 感谢来自社区的 [200 多位贡献者](https://github.com/d2l-ai/d2l-zh/graphs/contributors) #### [为本书贡献](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/contributing.html) ## 每一小节都是可以运行的 Jupyter 记事本 你可以自由修改代码和超参数来获取及时反馈,从而积累深度学习的实战经验。 [![](https://zh.d2l.ai/_images/laptop_jupyter.png) 本地运行](https://zh.d2l.ai/chapter_installation/index.html) [![](https://zh.d2l.ai/_images/logos/sagemaker-studio-lab.png) 亚马逊 SageMaker Studio Lab](https://studiolab.sagemaker.aws/import/github/d2l-ai/d2l-pytorch-sagemaker-studio-lab/blob/main/GettingStarted-D2L.ipynb) [![](https://zh.d2l.ai/_images/logos/sagemaker.png) 亚马逊 SageMaker](https://d2l.ai/chapter_appendix-tools-for-deep-learning/sagemaker.html) [![](https://zh.d2l.ai/_images/logos/colab.png) 谷歌 Colab](https://d2l.ai/chapter_appendix-tools-for-deep-learning/colab.html) ![](https://zh.d2l.ai/_images/notebook.gif) ## 公式 + 图示 + 代码 我们不仅结合文字、公式和图示来阐明深度学习里常用的模型和算法,还提供代码来演示如何从零开始实现它们,并使用真实数据来提供一个交互式的学习体验。 ![](https://zh.d2l.ai/_images/eq.jpg) ![](https://zh.d2l.ai/_images/figure.jpg) ![](https://zh.d2l.ai/_images/code.jpg) ![](https://zh.d2l.ai/_images/forum.gif) ## 活跃[社区](https://discuss.d2l.ai/c/16)支持 你可以通过每个章节最后的链接来同社区的数千名小伙伴一起讨论学习。 ## 本书(中英文版)被用作教材或参考书 ![](https://zh.d2l.ai/_images/logos/logoimg1-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg2-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg3-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg4-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg5-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg6-zh.png) \[+\] *点击以显示不完整名单* Abasyn University, Islamabad Campus Alexandria University Amirkabir University of Technology Amity University Amrita Vishwa Vidyapeetham University Anna University Anna University Regional Campus Madurai Ateneo de Naga University Australian National University Bar-Ilan University Barnard College Beijing Foresty University Birla Institute of Technology and Science, Hyderabad Birla Institute of Technology and Science, Pilani BML Munjal University Boston College Boston University Brac University Brandeis University Brown University Brunel University London Cairo University California State University, Northridge Cankaya University Carnegie Mellon University Center for Research and Advanced Studies of the National Polytechnic Institute Chalmers University of Technology Chennai Mathematical Institute Chouaib Doukkali University Chulalongkorn University City College of New York City University of Hong Kong City University of Science and Information Technology College of Engineering Pune Columbia University Cornell University Cyprus Institute Deakin University Diponegoro University Dresden University of Technology Duke University Durban University of Technology Eastern Mediterranean University Ecole Nationale Supérieure d'Informatique Ecole Nationale Supérieure de Cognitique École Nationale Supérieure de Techniques Avancées Eindhoven University of Technology Emory University Eötvös Loránd University Escuela Politécnica Nacional Escuela Superior Politecnica del Litoral Federal University Lokoja Feng Chia University Fisk University Florida Atlantic University FPT University Fudan University Ganpat University Gayatri Vidya Parishad College of Engineering (Autonomous) Gazi Üniversitesi Gdańsk University of Technology George Mason University Georgetown University Georgia Institute of Technology Gheorghe Asachi Technical University of Iaşi Golden Gate University Great Lakes Institute of Management Gwangju Institute of Science and Technology Habib University Hamad Bin Khalifa University Hangzhou Dianzi University Hangzhou Dianzi University Hankuk University of Foreign Studies Harare Institute of Technology Harbin Institute of Technology Harvard University Hasso-Plattner-Institut Hebrew University of Jerusalem Heinrich-Heine-Universität Düsseldorf Henan Institute of Technology Hertie School Higher Institute of Applied Science and Technology of Sousse Hiroshima University Ho Chi Minh City University of Foreign Languages and Information Technology Hochschule Bremen Hochschule für Technik und Wirtschaft Hochschule Hamm-Lippstadt Hong Kong University of Science and Technology Houston Community College Huazhong University of Science and Technology Humboldt-Universität zu Berlin İbn Haldun Üniversitesi Icahn School of Medicine at Mount Sinai Imperial College London IMT Mines Alès Indian Institute of Technology Bombay Indian Institute of Technology Hyderabad Indian Institute of Technology Jodhpur Indian Institute of Technology Kanpur Indian Institute of Technology Kharagpur Indian Institute of Technology Mandi Indian Institute of Technology Ropar Indian School of Business Indira Gandhi National Open University Indraprastha Institute of Information Technology, Delhi Institut catholique d'arts et métiers (ICAM) Institut de recherche en informatique de Toulouse Institut Supérieur d'Informatique et des Techniques de Communication Institut Supérieur De L'electronique Et Du Numérique Institut Teknologi Bandung Instituto Federal de Educação, Ciência e Tecnologia de São Paulo, Campus Salto Instituto Politécnico Nacional Instituto Tecnológico Autónomo de México Instituto Tecnológico de Buenos Aires Islamic University of Medina İstanbul Teknik Üniversitesi IT-Universitetet i København Ivan Franko National University of Lviv Jeonbuk National Univerity Johns Hopkins University Julius-Maximilians-Universität Würzburg Keio University King Abdullah University of Science and Technology King Fahd University of Petroleum and Minerals King Faisal University Kongu Engineering College Korea Aerospace University KPR Institute of Engineering and Technology Kyungpook National University Lancaster University Leading Unviersity Leibniz Universität Hannover Leuphana University of Lüneburg London School of Economics & Political Science M.S.Ramaiah University of Applied Sciences Make School Masaryk University Massachusetts Institute of Technology Maynooth University McGill University Menoufia University Milwaukee School of Engineering Minia University Mississippi State University Missouri University of Science and Technology Mohammad Ali Jinnah University Mohammed V University in Rabat Monash University Multimedia University Murdoch University Nanchang Hangkong University Nanjing Medical University Nanjing University National Institute of Technology Trichy National Technical University of Athens National Technical University of Ukraine National University of Sciences and Technology National University of Singapore Nazarbayev University New Jersey Institute of Technology New Mexico Institute of Mining and Technology New Mexico State University New York University Newman University North Ossetian State University NorthCap University Northeastern University Northwestern Polytechnical University Northwestern University Ohio University Pakuan University Peking University Pennsylvania State University Pohang University of Science and Technology Politechnika Białostocka Politecnico di Milano Politeknik Negeri Semarang Pomona College Pontificia Universidad Católica de Chile Pontificia Universidad Católica del Perú Portland State University Punjabi University Purdue University Purdue University Northwest Quaid-e-Azam University Queen Mary University of London Queen's University Radboud Universiteit Radboud University Rajiv Gandhi Institute of Petroleum Technology Rensselaer Polytechnic Institute Rowan University Rutgers, The State University of New Jersey RVS Institute of Management Studies and Research RWTH Aachen University Sant Longowal Institute of Engineering Technology Santa Clara University Sapienza Università di Roma Seoul National University Seoul National University of Science and Technology Shanghai Jiao Tong University Shanghai University of Electric Power Shanghai University of Finance and Economics Shantilal Shah Engineering College Sharif University of Technology Shenzhen University Shivaji University, Kolhapur Simon Fraser University Singapore University of Technology and Design Sogang University Sookmyung Women's University Southern Connecticut State University Southern New Hampshire University St. Pölten University of Applied Sciences Stanford University State University of New York at Albany State University of New York at Binghamton State University of New York at Fredonia Stellenbosch University Stevens Institute of Technology Sungkyunkwan University Technion - Israel Institute of Technology Technische Universität Berlin Technische Universität München Technische Universiteit Delft Tecnológico de Monterrey, Campus Guadalajara Tekirdağ Namık Kemal Üniversitesi Télécom Paris Telkom University Texas A\&M University Thapar Institute of Engineering and Technology Tsinghua University Tufts University Umeå University Universidad Carlos III de Madrid Universidad de Ibagué Universidad de Ingeniería y Tecnología - UTEC Universidad de Salamanca Universidad de Zaragoza Universidad del Norte, Colombia Universidad Icesi Universidad Militar Nueva Granada Universidad Nacional Agraria La Molina Universidad Nacional Autónoma de México Universidad Nacional de Colombia Sede Manizales Universidad Nacional de Tierra del Fuego Universidad Politécnica de Chiapas Universidad Politécnica de Valencia Universidad Politécnica Salesiana, Cuenca Universidad Rafael Landivar Universidad Rey Juan Carlos Universidad San Francisco de Quito Universidad Tecnológica de Pereira Universidad Tecnológica Nacional Universidade Católica de Brasília Universidade Estadual de Campinas Universidade Federal de Goiás Universidade Federal de Minas Gerais Universidade Federal de Ouro Preto Universidade Federal de Pernambuco Universidade Federal de São Carlos Universidade Federal de Viçosa Universidade Federal do Pampa Universidade Federal do Rio Grande Universidade NOVA de Lisboa Universidade Presbiteriana Mackenzie Universidade Tecnológica Federal do Paraná Università Cattolica del Sacro Cuore Università degli Studi di Bari Aldo Moro Università degli Studi di Brescia Università degli Studi di Catania Università degli Studi di Padova Universitas Andalas, Padang Universitas Indonesia Universitas Negeri Yogyakarta Universitas Udayana Universität Bremen Universitat de Barcelona Universitat de València Universität Heidelberg Universität Leipzig Universitat Politècnica de Catalunya Universitatea Babeș-Bolyai Universitatea de Vest din Timișoara Université Abderrahmane Mira de Béjaïa Université Clermont Auvergne Université Côte d'Azur Université de Caen Normandie Université de Rouen Normandie Université de technologie de Compiègne Université Paris-Saclay Université Toulouse 1 Capitole University of Akron University of Alabama in Huntsville University of Allahabad University of Applied Sciences Würzburg-Schweinfurt University of Arkansas University of Augsburg University of Baghdad University of Bath University of Bordj Bou Arreridj University of British Columbia University of California, Berkeley University of California, Irvine University of California, Los Angeles University of California, San Diego University of California, Santa Barbara University of California, Santa Cruz University of Cambridge University of Canberra University of Catania University of Cincinnati University of Colorado Boulder University of Connecticut University of Copenhagen University of Derby University of Florida University of Genoa University of Ghana University of Groningen University of Hamburg University of Houston University of Hull University of Iceland University of Idaho University of Illinois at Urbana-Champaign University of International Business and Economics University of Klagenfurt University of Liège University of Louisiana at Lafayette University of Maryland University of Maryland Baltimore County University of Massachusetts Lowell University of Michigan University of Michigan Dearborn University of Milano-Bicocca University of Minnesota, Twin Cities University of Moratuwa University of Nebraska Omaha University of New Hampshire University of Newcastle University of North Carolina at Chapel Hill University of North Texas University of Northern Philippines University of Nottingham University of Oslo University of Pennsylvania University of Pittsburgh University of Rostock University of São Paulo University of Science and Technology of China University of Southern California University of Southern Maine University of St Andrews University of St. Thomas University of Suffolk University of Sydney University of Szeged University of Technology Sydney University of Tehran University of Texas at Austin University of Texas at Dallas University of Texas Rio Grande Valley University of Udine University of Warsaw University of Washington University of Waterloo University of Wisconsin Madison Univerzita Komenského v Bratislave Uniwersytet Jagielloński Vardhaman College of Engineering Vardhman Mahaveer Open University Vietnamese-German University Vignana Jyothi Institute Of Management Vilnius University Wageningen University West Virginia University Western University Wichita State University Xavier University Bhubaneswar Xi'an Jiaotong Liverpool University Xiamen University Xianning Vocational Technical College Yale University Yeshiva University Yıldız Teknik Üniversitesi Yonsei University Yunnan University Zhejiang University ### 英文版引用 ``` @book{zhang2023dive, title={Dive into Deep Learning}, author={Zhang, Aston and Lipton, Zachary C. and Li, Mu and Smola, Alexander J.}, publisher={Cambridge University Press}, note={\url{https://D2L.ai}}, year={2023} } ``` [![Copy to clipboard](https://raw.githubusercontent.com/choldgraf/sphinx-copybutton/master/sphinx_copybutton/_static/copy-button.svg)]() ## 目录 - [前言](https://zh.d2l.ai/chapter_preface/index.html) - [安装](https://zh.d2l.ai/chapter_installation/index.html) - [符号](https://zh.d2l.ai/chapter_notation/index.html) - [1\. 引言](https://zh.d2l.ai/chapter_introduction/index.html) - [1\.1. 日常生活中的机器学习](https://zh.d2l.ai/chapter_introduction/index.html#id2) - [1\.2. 机器学习中的关键组件](https://zh.d2l.ai/chapter_introduction/index.html#id3) - [1\.3. 各种机器学习问题](https://zh.d2l.ai/chapter_introduction/index.html#id8) - [1\.4. 起源](https://zh.d2l.ai/chapter_introduction/index.html#id19) - [1\.5. 深度学习的发展](https://zh.d2l.ai/chapter_introduction/index.html#id22) - [1\.6. 深度学习的成功案例](https://zh.d2l.ai/chapter_introduction/index.html#id40) - [1\.7. 特点](https://zh.d2l.ai/chapter_introduction/index.html#id47) - [1\.8. 小结](https://zh.d2l.ai/chapter_introduction/index.html#id50) - [1\.9. 练习](https://zh.d2l.ai/chapter_introduction/index.html#id51) - [2\. 预备知识](https://zh.d2l.ai/chapter_preliminaries/index.html) - [2\.1. 数据操作](https://zh.d2l.ai/chapter_preliminaries/ndarray.html) - [2\.2. 数据预处理](https://zh.d2l.ai/chapter_preliminaries/pandas.html) - [2\.3. 线性代数](https://zh.d2l.ai/chapter_preliminaries/linear-algebra.html) - [2\.4. 微积分](https://zh.d2l.ai/chapter_preliminaries/calculus.html) - [2\.5. 自动微分](https://zh.d2l.ai/chapter_preliminaries/autograd.html) - [2\.6. 概率](https://zh.d2l.ai/chapter_preliminaries/probability.html) - [2\.7. 查阅文档](https://zh.d2l.ai/chapter_preliminaries/lookup-api.html) - [3\. 线性神经网络](https://zh.d2l.ai/chapter_linear-networks/index.html) - [3\.1. 线性回归](https://zh.d2l.ai/chapter_linear-networks/linear-regression.html) - [3\.2. 线性回归的从零开始实现](https://zh.d2l.ai/chapter_linear-networks/linear-regression-scratch.html) - [3\.3. 线性回归的简洁实现](https://zh.d2l.ai/chapter_linear-networks/linear-regression-concise.html) - [3\.4. softmax回归](https://zh.d2l.ai/chapter_linear-networks/softmax-regression.html) - [3\.5. 图像分类数据集](https://zh.d2l.ai/chapter_linear-networks/image-classification-dataset.html) - [3\.6. softmax回归的从零开始实现](https://zh.d2l.ai/chapter_linear-networks/softmax-regression-scratch.html) - [3\.7. softmax回归的简洁实现](https://zh.d2l.ai/chapter_linear-networks/softmax-regression-concise.html) - [4\. 多层感知机](https://zh.d2l.ai/chapter_multilayer-perceptrons/index.html) - [4\.1. 多层感知机](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp.html) - [4\.2. 多层感知机的从零开始实现](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp-scratch.html) - [4\.3. 多层感知机的简洁实现](https://zh.d2l.ai/chapter_multilayer-perceptrons/mlp-concise.html) - [4\.4. 模型选择、欠拟合和过拟合](https://zh.d2l.ai/chapter_multilayer-perceptrons/underfit-overfit.html) - [4\.5. 权重衰减](https://zh.d2l.ai/chapter_multilayer-perceptrons/weight-decay.html) - [4\.6. 暂退法(Dropout)](https://zh.d2l.ai/chapter_multilayer-perceptrons/dropout.html) - [4\.7. 前向传播、反向传播和计算图](https://zh.d2l.ai/chapter_multilayer-perceptrons/backprop.html) - [4\.8. 数值稳定性和模型初始化](https://zh.d2l.ai/chapter_multilayer-perceptrons/numerical-stability-and-init.html) - [4\.9. 环境和分布偏移](https://zh.d2l.ai/chapter_multilayer-perceptrons/environment.html) - [4\.10. 实战Kaggle比赛:预测房价](https://zh.d2l.ai/chapter_multilayer-perceptrons/kaggle-house-price.html) - [5\. 深度学习计算](https://zh.d2l.ai/chapter_deep-learning-computation/index.html) - [5\.1. 层和块](https://zh.d2l.ai/chapter_deep-learning-computation/model-construction.html) - [5\.2. 参数管理](https://zh.d2l.ai/chapter_deep-learning-computation/parameters.html) - [5\.3. 延后初始化](https://zh.d2l.ai/chapter_deep-learning-computation/deferred-init.html) - [5\.4. 自定义层](https://zh.d2l.ai/chapter_deep-learning-computation/custom-layer.html) - [5\.5. 读写文件](https://zh.d2l.ai/chapter_deep-learning-computation/read-write.html) - [5\.6. GPU](https://zh.d2l.ai/chapter_deep-learning-computation/use-gpu.html) - [6\. 卷积神经网络](https://zh.d2l.ai/chapter_convolutional-neural-networks/index.html) - [6\.1. 从全连接层到卷积](https://zh.d2l.ai/chapter_convolutional-neural-networks/why-conv.html) - [6\.2. 图像卷积](https://zh.d2l.ai/chapter_convolutional-neural-networks/conv-layer.html) - [6\.3. 填充和步幅](https://zh.d2l.ai/chapter_convolutional-neural-networks/padding-and-strides.html) - [6\.4. 多输入多输出通道](https://zh.d2l.ai/chapter_convolutional-neural-networks/channels.html) - [6\.5. 汇聚层](https://zh.d2l.ai/chapter_convolutional-neural-networks/pooling.html) - [6\.6. 卷积神经网络(LeNet)](https://zh.d2l.ai/chapter_convolutional-neural-networks/lenet.html) - [7\. 现代卷积神经网络](https://zh.d2l.ai/chapter_convolutional-modern/index.html) - [7\.1. 深度卷积神经网络(AlexNet)](https://zh.d2l.ai/chapter_convolutional-modern/alexnet.html) - [7\.2. 使用块的网络(VGG)](https://zh.d2l.ai/chapter_convolutional-modern/vgg.html) - [7\.3. 网络中的网络(NiN)](https://zh.d2l.ai/chapter_convolutional-modern/nin.html) - [7\.4. 含并行连结的网络(GoogLeNet)](https://zh.d2l.ai/chapter_convolutional-modern/googlenet.html) - [7\.5. 批量规范化](https://zh.d2l.ai/chapter_convolutional-modern/batch-norm.html) - [7\.6. 残差网络(ResNet)](https://zh.d2l.ai/chapter_convolutional-modern/resnet.html) - [7\.7. 稠密连接网络(DenseNet)](https://zh.d2l.ai/chapter_convolutional-modern/densenet.html) - [8\. 循环神经网络](https://zh.d2l.ai/chapter_recurrent-neural-networks/index.html) - [8\.1. 序列模型](https://zh.d2l.ai/chapter_recurrent-neural-networks/sequence.html) - [8\.2. 文本预处理](https://zh.d2l.ai/chapter_recurrent-neural-networks/text-preprocessing.html) - [8\.3. 语言模型和数据集](https://zh.d2l.ai/chapter_recurrent-neural-networks/language-models-and-dataset.html) - [8\.4. 循环神经网络](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn.html) - [8\.5. 循环神经网络的从零开始实现](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn-scratch.html) - [8\.6. 循环神经网络的简洁实现](https://zh.d2l.ai/chapter_recurrent-neural-networks/rnn-concise.html) - [8\.7. 通过时间反向传播](https://zh.d2l.ai/chapter_recurrent-neural-networks/bptt.html) - [9\. 现代循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/index.html) - [9\.1. 门控循环单元(GRU)](https://zh.d2l.ai/chapter_recurrent-modern/gru.html) - [9\.2. 长短期记忆网络(LSTM)](https://zh.d2l.ai/chapter_recurrent-modern/lstm.html) - [9\.3. 深度循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/deep-rnn.html) - [9\.4. 双向循环神经网络](https://zh.d2l.ai/chapter_recurrent-modern/bi-rnn.html) - [9\.5. 机器翻译与数据集](https://zh.d2l.ai/chapter_recurrent-modern/machine-translation-and-dataset.html) - [9\.6. 编码器-解码器架构](https://zh.d2l.ai/chapter_recurrent-modern/encoder-decoder.html) - [9\.7. 序列到序列学习(seq2seq)](https://zh.d2l.ai/chapter_recurrent-modern/seq2seq.html) - [9\.8. 束搜索](https://zh.d2l.ai/chapter_recurrent-modern/beam-search.html) - [10\. 注意力机制](https://zh.d2l.ai/chapter_attention-mechanisms/index.html) - [10\.1. 注意力提示](https://zh.d2l.ai/chapter_attention-mechanisms/attention-cues.html) - [10\.2. 注意力汇聚:Nadaraya-Watson 核回归](https://zh.d2l.ai/chapter_attention-mechanisms/nadaraya-waston.html) - [10\.3. 注意力评分函数](https://zh.d2l.ai/chapter_attention-mechanisms/attention-scoring-functions.html) - [10\.4. Bahdanau 注意力](https://zh.d2l.ai/chapter_attention-mechanisms/bahdanau-attention.html) - [10\.5. 多头注意力](https://zh.d2l.ai/chapter_attention-mechanisms/multihead-attention.html) - [10\.6. 自注意力和位置编码](https://zh.d2l.ai/chapter_attention-mechanisms/self-attention-and-positional-encoding.html) - [10\.7. Transformer](https://zh.d2l.ai/chapter_attention-mechanisms/transformer.html) - [11\. 优化算法](https://zh.d2l.ai/chapter_optimization/index.html) - [11\.1. 优化和深度学习](https://zh.d2l.ai/chapter_optimization/optimization-intro.html) - [11\.2. 凸性](https://zh.d2l.ai/chapter_optimization/convexity.html) - [11\.3. 梯度下降](https://zh.d2l.ai/chapter_optimization/gd.html) - [11\.4. 随机梯度下降](https://zh.d2l.ai/chapter_optimization/sgd.html) - [11\.5. 小批量随机梯度下降](https://zh.d2l.ai/chapter_optimization/minibatch-sgd.html) - [11\.6. 动量法](https://zh.d2l.ai/chapter_optimization/momentum.html) - [11\.7. AdaGrad算法](https://zh.d2l.ai/chapter_optimization/adagrad.html) - [11\.8. RMSProp算法](https://zh.d2l.ai/chapter_optimization/rmsprop.html) - [11\.9. Adadelta](https://zh.d2l.ai/chapter_optimization/adadelta.html) - [11\.10. Adam算法](https://zh.d2l.ai/chapter_optimization/adam.html) - [11\.11. 学习率调度器](https://zh.d2l.ai/chapter_optimization/lr-scheduler.html) - [12\. 计算性能](https://zh.d2l.ai/chapter_computational-performance/index.html) - [12\.1. 编译器和解释器](https://zh.d2l.ai/chapter_computational-performance/hybridize.html) - [12\.2. 异步计算](https://zh.d2l.ai/chapter_computational-performance/async-computation.html) - [12\.3. 自动并行](https://zh.d2l.ai/chapter_computational-performance/auto-parallelism.html) - [12\.4. 硬件](https://zh.d2l.ai/chapter_computational-performance/hardware.html) - [12\.5. 多GPU训练](https://zh.d2l.ai/chapter_computational-performance/multiple-gpus.html) - [12\.6. 多GPU的简洁实现](https://zh.d2l.ai/chapter_computational-performance/multiple-gpus-concise.html) - [12\.7. 参数服务器](https://zh.d2l.ai/chapter_computational-performance/parameterserver.html) - [13\. 计算机视觉](https://zh.d2l.ai/chapter_computer-vision/index.html) - [13\.1. 图像增广](https://zh.d2l.ai/chapter_computer-vision/image-augmentation.html) - [13\.2. 微调](https://zh.d2l.ai/chapter_computer-vision/fine-tuning.html) - [13\.3. 目标检测和边界框](https://zh.d2l.ai/chapter_computer-vision/bounding-box.html) - [13\.4. 锚框](https://zh.d2l.ai/chapter_computer-vision/anchor.html) - [13\.5. 多尺度目标检测](https://zh.d2l.ai/chapter_computer-vision/multiscale-object-detection.html) - [13\.6. 目标检测数据集](https://zh.d2l.ai/chapter_computer-vision/object-detection-dataset.html) - [13\.7. 单发多框检测(SSD)](https://zh.d2l.ai/chapter_computer-vision/ssd.html) - [13\.8. 区域卷积神经网络(R-CNN)系列](https://zh.d2l.ai/chapter_computer-vision/rcnn.html) - [13\.9. 语义分割和数据集](https://zh.d2l.ai/chapter_computer-vision/semantic-segmentation-and-dataset.html) - [13\.10. 转置卷积](https://zh.d2l.ai/chapter_computer-vision/transposed-conv.html) - [13\.11. 全卷积网络](https://zh.d2l.ai/chapter_computer-vision/fcn.html) - [13\.12. 风格迁移](https://zh.d2l.ai/chapter_computer-vision/neural-style.html) - [13\.13. 实战 Kaggle 比赛:图像分类 (CIFAR-10)](https://zh.d2l.ai/chapter_computer-vision/kaggle-cifar10.html) - [13\.14. 实战Kaggle比赛:狗的品种识别(ImageNet Dogs)](https://zh.d2l.ai/chapter_computer-vision/kaggle-dog.html) - [14\. 自然语言处理:预训练](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/index.html) - [14\.1. 词嵌入(word2vec)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word2vec.html) - [14\.2. 近似训练](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/approx-training.html) - [14\.3. 用于预训练词嵌入的数据集](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word-embedding-dataset.html) - [14\.4. 预训练word2vec](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/word2vec-pretraining.html) - [14\.5. 全局向量的词嵌入(GloVe)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/glove.html) - [14\.6. 子词嵌入](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/subword-embedding.html) - [14\.7. 词的相似性和类比任务](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/similarity-analogy.html) - [14\.8. 来自Transformers的双向编码器表示(BERT)](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert.html) - [14\.9. 用于预训练BERT的数据集](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert-dataset.html) - [14\.10. 预训练BERT](https://zh.d2l.ai/chapter_natural-language-processing-pretraining/bert-pretraining.html) - [15\. 自然语言处理:应用](https://zh.d2l.ai/chapter_natural-language-processing-applications/index.html) - [15\.1. 情感分析及数据集](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-and-dataset.html) - [15\.2. 情感分析:使用循环神经网络](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-rnn.html) - [15\.3. 情感分析:使用卷积神经网络](https://zh.d2l.ai/chapter_natural-language-processing-applications/sentiment-analysis-cnn.html) - [15\.4. 自然语言推断与数据集](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-and-dataset.html) - [15\.5. 自然语言推断:使用注意力](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-attention.html) - [15\.6. 针对序列级和词元级应用微调BERT](https://zh.d2l.ai/chapter_natural-language-processing-applications/finetuning-bert.html) - [15\.7. 自然语言推断:微调BERT](https://zh.d2l.ai/chapter_natural-language-processing-applications/natural-language-inference-bert.html) - [16\. 附录:深度学习工具](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/index.html) - [16\.1. 使用Jupyter Notebook](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/jupyter.html) - [16\.2. 使用Amazon SageMaker](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/sagemaker.html) - [16\.3. 使用Amazon EC2实例](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/aws.html) - [16\.4. 选择服务器和GPU](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/selecting-servers-gpus.html) - [16\.5. 为本书做贡献](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/contributing.html) - [16\.6. `d2l` API 文档](https://zh.d2l.ai/chapter_appendix-tools-for-deep-learning/d2l.html) - [参考文献](https://zh.d2l.ai/chapter_references/zreferences.html) [Next 前言](https://zh.d2l.ai/chapter_preface/index.html)
Readable Markdown
## 本书(中英文版)被用作教材或参考书 ![](https://zh.d2l.ai/_images/logos/logoimg1-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg2-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg3-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg4-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg5-zh.png) ![](https://zh.d2l.ai/_images/logos/logoimg6-zh.png) Abasyn University, Islamabad Campus Alexandria University Amirkabir University of Technology Amity University Amrita Vishwa Vidyapeetham University Anna University Anna University Regional Campus Madurai Ateneo de Naga University Australian National University Bar-Ilan University Barnard College Beijing Foresty University Birla Institute of Technology and Science, Hyderabad Birla Institute of Technology and Science, Pilani BML Munjal University Boston College Boston University Brac University Brandeis University Brown University Brunel University London Cairo University California State University, Northridge Cankaya University Carnegie Mellon University Center for Research and Advanced Studies of the National Polytechnic Institute Chalmers University of Technology Chennai Mathematical Institute Chouaib Doukkali University Chulalongkorn University City College of New York City University of Hong Kong City University of Science and Information Technology College of Engineering Pune Columbia University Cornell University Cyprus Institute Deakin University Diponegoro University Dresden University of Technology Duke University Durban University of Technology Eastern Mediterranean University Ecole Nationale Supérieure d'Informatique Ecole Nationale Supérieure de Cognitique École Nationale Supérieure de Techniques Avancées Eindhoven University of Technology Emory University Eötvös Loránd University Escuela Politécnica Nacional Escuela Superior Politecnica del Litoral Federal University Lokoja Feng Chia University Fisk University Florida Atlantic University FPT University Fudan University Ganpat University Gayatri Vidya Parishad College of Engineering (Autonomous) Gazi Üniversitesi Gdańsk University of Technology George Mason University Georgetown University Georgia Institute of Technology Gheorghe Asachi Technical University of Iaşi Golden Gate University Great Lakes Institute of Management Gwangju Institute of Science and Technology Habib University Hamad Bin Khalifa University Hangzhou Dianzi University Hangzhou Dianzi University Hankuk University of Foreign Studies Harare Institute of Technology Harbin Institute of Technology Harvard University Hasso-Plattner-Institut Hebrew University of Jerusalem Heinrich-Heine-Universität Düsseldorf Henan Institute of Technology Hertie School Higher Institute of Applied Science and Technology of Sousse Hiroshima University Ho Chi Minh City University of Foreign Languages and Information Technology Hochschule Bremen Hochschule für Technik und Wirtschaft Hochschule Hamm-Lippstadt Hong Kong University of Science and Technology Houston Community College Huazhong University of Science and Technology Humboldt-Universität zu Berlin İbn Haldun Üniversitesi Icahn School of Medicine at Mount Sinai Imperial College London IMT Mines Alès Indian Institute of Technology Bombay Indian Institute of Technology Hyderabad Indian Institute of Technology Jodhpur Indian Institute of Technology Kanpur Indian Institute of Technology Kharagpur Indian Institute of Technology Mandi Indian Institute of Technology Ropar Indian School of Business Indira Gandhi National Open University Indraprastha Institute of Information Technology, Delhi Institut catholique d'arts et métiers (ICAM) Institut de recherche en informatique de Toulouse Institut Supérieur d'Informatique et des Techniques de Communication Institut Supérieur De L'electronique Et Du Numérique Institut Teknologi Bandung Instituto Federal de Educação, Ciência e Tecnologia de São Paulo, Campus Salto Instituto Politécnico Nacional Instituto Tecnológico Autónomo de México Instituto Tecnológico de Buenos Aires Islamic University of Medina İstanbul Teknik Üniversitesi IT-Universitetet i København Ivan Franko National University of Lviv Jeonbuk National Univerity Johns Hopkins University Julius-Maximilians-Universität Würzburg Keio University King Abdullah University of Science and Technology King Fahd University of Petroleum and Minerals King Faisal University Kongu Engineering College Korea Aerospace University KPR Institute of Engineering and Technology Kyungpook National University Lancaster University Leading Unviersity Leibniz Universität Hannover Leuphana University of Lüneburg London School of Economics & Political Science M.S.Ramaiah University of Applied Sciences Make School Masaryk University Massachusetts Institute of Technology Maynooth University McGill University Menoufia University Milwaukee School of Engineering Minia University Mississippi State University Missouri University of Science and Technology Mohammad Ali Jinnah University Mohammed V University in Rabat Monash University Multimedia University Murdoch University Nanchang Hangkong University Nanjing Medical University Nanjing University National Institute of Technology Trichy National Technical University of Athens National Technical University of Ukraine National University of Sciences and Technology National University of Singapore Nazarbayev University New Jersey Institute of Technology New Mexico Institute of Mining and Technology New Mexico State University New York University Newman University North Ossetian State University NorthCap University Northeastern University Northwestern Polytechnical University Northwestern University Ohio University Pakuan University Peking University Pennsylvania State University Pohang University of Science and Technology Politechnika Białostocka Politecnico di Milano Politeknik Negeri Semarang Pomona College Pontificia Universidad Católica de Chile Pontificia Universidad Católica del Perú Portland State University Punjabi University Purdue University Purdue University Northwest Quaid-e-Azam University Queen Mary University of London Queen's University Radboud Universiteit Radboud University Rajiv Gandhi Institute of Petroleum Technology Rensselaer Polytechnic Institute Rowan University Rutgers, The State University of New Jersey RVS Institute of Management Studies and Research RWTH Aachen University Sant Longowal Institute of Engineering Technology Santa Clara University Sapienza Università di Roma Seoul National University Seoul National University of Science and Technology Shanghai Jiao Tong University Shanghai University of Electric Power Shanghai University of Finance and Economics Shantilal Shah Engineering College Sharif University of Technology Shenzhen University Shivaji University, Kolhapur Simon Fraser University Singapore University of Technology and Design Sogang University Sookmyung Women's University Southern Connecticut State University Southern New Hampshire University St. Pölten University of Applied Sciences Stanford University State University of New York at Albany State University of New York at Binghamton State University of New York at Fredonia Stellenbosch University Stevens Institute of Technology Sungkyunkwan University Technion - Israel Institute of Technology Technische Universität Berlin Technische Universität München Technische Universiteit Delft Tecnológico de Monterrey, Campus Guadalajara Tekirdağ Namık Kemal Üniversitesi Télécom Paris Telkom University Texas A\&M University Thapar Institute of Engineering and Technology Tsinghua University Tufts University Umeå University Universidad Carlos III de Madrid Universidad de Ibagué Universidad de Ingeniería y Tecnología - UTEC Universidad de Salamanca Universidad de Zaragoza Universidad del Norte, Colombia Universidad Icesi Universidad Militar Nueva Granada Universidad Nacional Agraria La Molina Universidad Nacional Autónoma de México Universidad Nacional de Colombia Sede Manizales Universidad Nacional de Tierra del Fuego Universidad Politécnica de Chiapas Universidad Politécnica de Valencia Universidad Politécnica Salesiana, Cuenca Universidad Rafael Landivar Universidad Rey Juan Carlos Universidad San Francisco de Quito Universidad Tecnológica de Pereira Universidad Tecnológica Nacional Universidade Católica de Brasília Universidade Estadual de Campinas Universidade Federal de Goiás Universidade Federal de Minas Gerais Universidade Federal de Ouro Preto Universidade Federal de Pernambuco Universidade Federal de São Carlos Universidade Federal de Viçosa Universidade Federal do Pampa Universidade Federal do Rio Grande Universidade NOVA de Lisboa Universidade Presbiteriana Mackenzie Universidade Tecnológica Federal do Paraná Università Cattolica del Sacro Cuore Università degli Studi di Bari Aldo Moro Università degli Studi di Brescia Università degli Studi di Catania Università degli Studi di Padova Universitas Andalas, Padang Universitas Indonesia Universitas Negeri Yogyakarta Universitas Udayana Universität Bremen Universitat de Barcelona Universitat de València Universität Heidelberg Universität Leipzig Universitat Politècnica de Catalunya Universitatea Babeș-Bolyai Universitatea de Vest din Timișoara Université Abderrahmane Mira de Béjaïa Université Clermont Auvergne Université Côte d'Azur Université de Caen Normandie Université de Rouen Normandie Université de technologie de Compiègne Université Paris-Saclay Université Toulouse 1 Capitole University of Akron University of Alabama in Huntsville University of Allahabad University of Applied Sciences Würzburg-Schweinfurt University of Arkansas University of Augsburg University of Baghdad University of Bath University of Bordj Bou Arreridj University of British Columbia University of California, Berkeley University of California, Irvine University of California, Los Angeles University of California, San Diego University of California, Santa Barbara University of California, Santa Cruz University of Cambridge University of Canberra University of Catania University of Cincinnati University of Colorado Boulder University of Connecticut University of Copenhagen University of Derby University of Florida University of Genoa University of Ghana University of Groningen University of Hamburg University of Houston University of Hull University of Iceland University of Idaho University of Illinois at Urbana-Champaign University of International Business and Economics University of Klagenfurt University of Liège University of Louisiana at Lafayette University of Maryland University of Maryland Baltimore County University of Massachusetts Lowell University of Michigan University of Michigan Dearborn University of Milano-Bicocca University of Minnesota, Twin Cities University of Moratuwa University of Nebraska Omaha University of New Hampshire University of Newcastle University of North Carolina at Chapel Hill University of North Texas University of Northern Philippines University of Nottingham University of Oslo University of Pennsylvania University of Pittsburgh University of Rostock University of São Paulo University of Science and Technology of China University of Southern California University of Southern Maine University of St Andrews University of St. Thomas University of Suffolk University of Sydney University of Szeged University of Technology Sydney University of Tehran University of Texas at Austin University of Texas at Dallas University of Texas Rio Grande Valley University of Udine University of Warsaw University of Washington University of Waterloo University of Wisconsin Madison Univerzita Komenského v Bratislave Uniwersytet Jagielloński Vardhaman College of Engineering Vardhman Mahaveer Open University Vietnamese-German University Vignana Jyothi Institute Of Management Vilnius University Wageningen University West Virginia University Western University Wichita State University Xavier University Bhubaneswar Xi'an Jiaotong Liverpool University Xiamen University Xianning Vocational Technical College Yale University Yeshiva University Yıldız Teknik Üniversitesi Yonsei University Yunnan University Zhejiang University
Shard197 (laksa)
Root Hash15173883576131409997
Unparsed URLai,d2l!zh,/ s443