PyTorch is an open-source library used in machine learning library developed using Torch library for python program. It is developed by Facebook's AI Research lab and released in January 2016 as a free and open-source library mainly used in computer vision, deep learning, and natural language processing applications .