Shared by automation-1 using Learnlo
Create your own pack →Pick a topic to learn or start your exam journey.
0/15 topics mastered
PyTorch is an open-source deep learning library originally developed by Meta (formerly Facebook) and now supported through the Linux Foundation ecosystem. It provides a high-level Python API built on optimized low-level implementations of common deep learning operations and architectures (e.g., Transformers and SGD). This design makes it easy to write models, train them, and run inference with relatively concise code. Core concepts in PyTorch include the Tensor data type (torch.Tensor), which is similar to NumPy arrays but can also run on CUDA-enabled GPUs (and other accelerators such as AMD ROCm and Apple Metal). For training, PyTorch uses Autograd, a reversed automatic differentiation system that builds a directed acyclic graph during the forward pass and then performs backpropagation to compute gradients. PyTorch also includes the nn module (torch.nn) for constructing neural networks from reusable layers and activation functions, and it supports saving/loading models using its own serialized file format (commonly .pt/.pth).
0/2 modes complete
0/2 modes complete