Book Image

Dynamic Neural Network Programming with PyTorch [Video]

By : Anastasia Yanina
Book Image

Dynamic Neural Network Programming with PyTorch [Video]

By: Anastasia Yanina

Overview of this book

<p>Deep learning influences key aspects of core sectors such as IT, finance, science, and many more. Problems arise when it comes to getting computational resources for your network. You need to have a powerful GPU and plenty of time to train a network for solving a real-world task.</p> <p>Dynamic neural networks help save training time on your networks. They also reduce the amount of computational resources required. In this course, you'll learn to combine various techniques into a common framework. Then you will use dynamic graph computations to reduce the time spent training a network. <br />By the end, you'll be ready to use the power of PyTorch to easily train neural networks of varying complexities.</p> <p>All the related code files are placed on GitHub repository at&nbsp;<a href="https://github.com/PacktPublishing/-Dynamic-Neural-Network-Programming-with-PyTorch" target="_blank">https://github.com/PacktPublishing/-Dynamic-Neural-Network-Programming-with-PyTorch</a></p> <h1>Style and Approach</h1> <p>The course allows you to directly put into practice all the knowledge you've acquired. Throughout the course, we'll build a simple C++/CUDA extension with step-by-step instructions and complete two mini-projects: applying dynamic neural networks to image recognition and NLP-oriented problems (grammar parsing). Coding tips and hints are provided as well as illustrative examples and clear instructions to all the mini-projects. Short quizzes at the end of each lecture will ensure you've mastered it and check your progress.</p>
Table of Contents (6 chapters)
Chapter 4
Creating Extensions with PyTorch
Content Locked
Section 1
Extensions with Numpy - Part 1
Sometimes, there is a necessity to use functions from the Numpy library. This may give more freedom and allow you not to implement some math by yourself. We will explore parameter-less Numpy extensions in this video. - Understand why Numpy extensions are useful - Explore the presented code - Run it on your own