評價此頁

PyTorch 深度學習:60 分鐘閃電教程#

建立日期:2017 年 3 月 24 日 | 最後更新:2023 年 5 月 31 日 | 最後驗證:2024 年 11 月 5 日

作者Soumith Chintala

什麼是 PyTorch?#

PyTorch 是一個基於 Python 的科學計算包,服務於兩個廣泛的目的:

  • 替代 NumPy,利用 GPU 和其他加速器的強大功能。

  • 一個自動微分庫,可用於實現神經網路。

本教程的目標:#

  • 從高層次上理解 PyTorch 的 Tensor 庫和神經網路。

  • 訓練一個小型神經網路來對影像進行分類。

要執行下面的教程,請確保您已安裝 torchtorchvisionmatplotlib 包。

張量

在本教程中,您將學習 PyTorch Tensor 的基礎知識。

blitz/tensor_tutorial.html
torch.autograd 的溫和介紹

瞭解 autograd。

blitz/autograd_tutorial.html
神經網路

本教程演示瞭如何在 PyTorch 中訓練神經網路。

blitz/neural_networks_tutorial.html
訓練分類器

透過使用 CIFAR10 資料集,學習如何在 PyTorch 中訓練影像分類器。

blitz/cifar10_tutorial.html