In this chapter, we will cover PyTorch which is a more recent addition to the ecosystem of the Deep Learning framework. PyTorch can be seen as a Python front end to the Torch engine (which initially only had Lua bindings) which at its heart provides the ability to define mathematical functions and compute their gradients. PyTorch has fairly good Graphical Processing Unit (GPU) support and is a fast-maturing framework.
There is a significant difference between PyTorch and other frameworks like Theano or Tensorflow from a programming paradigm point of view. Frameworks such ...