What is PyTorch?
PyTorch is a Python-based scientific computing library dedicated to deep learning research and development, developed and maintained by Facebook. It provides flexible and efficient GPU-accelerated tensor computation and the ability to dynamically build computational graphs, making it easier for users to design, build and train deep neural network models.
Why PyTorch?
The core of PyTorch is Tensor, which is similar to Numpy's arrays but accelerated on GPU.PyTorch also provides rich modules and functions for building various deep neural network models, including convolutional neural networks, recurrent neural networks, generative adversarial networks, and so on.
Another feature of PyTorch is the dynamic computation graph. Unlike static computational graphs, dynamic computational graphs can dynamically construct computational graphs based on user input data, making it easier for users to design and debug models. In addition, PyTorch also supports automatic differentiation, which can automatically calculate the gradient of the model, thus speeding up model optimisation.
PyTorch also provides a library called torchvision that supports common image and video datasets, including ImageNet, CIFAR-10, and COCO. It also provides many pre-trained models such as VGG, ResNet, Inception, etc.
How to access PyTorch?
Just click on the Open URL button above.