PyTorch is a machine learning library that uses dynamic computational graphs. It allows users to create dynamic models, for making it easier to construct complex neural networks.