PyTorch Flashcards

πŸ”₯ PyTorch Flashcards
πŸ’‘ What is PyTorch?
An open-source deep learning framework developed by Facebook’s AI Research lab, widely used for research and production.

🧠 What is a Tensor in PyTorch?
A tensor is a multi-dimensional array used as the fundamental building block in PyTorch computations.

πŸ› οΈ What is Autograd?
Autograd is PyTorch’s automatic differentiation engine that powers neural network training.

πŸ“¦ What is torch.nn Module?
A module in PyTorch that provides layers and loss functions to build deep learning models.

πŸ” What is a Forward Pass?
The step in neural networks where input data is passed through the layers to generate predictions.

πŸ§ͺ What is Backpropagation?
The process of computing gradients of loss with respect to model weights to update them during training.

βš™οΈ What is torch.optim?
A PyTorch module containing optimization algorithms like SGD, Adam, and RMSprop.

🌐 What is TorchScript?
A way to serialize PyTorch models so they can run outside Python environments, ideal for deployment.

πŸ–₯️ What is PyTorch Lightning?
A wrapper for PyTorch that provides structured training loops, making model training more readable and scalable.

πŸ“Š What is a DataLoader?
A utility that provides batches of data efficiently for training and evaluation loops.