PyTorch Definition¶ PyTorch is an open source machine learning and deep learning framework. - PyTorch allows you to manipulate and process data and write machine learning algorithms using Python code. Workflow¶ Importing PyTorch¶ import torch torch.__version__