Quiz time!
Let’s review what we have learned in this chapter by answering a few questions. Initially, try to answer these questions without consulting the material.
Note
The answers to all these questions are available at https://github.com/PacktPublishing/Accelerate-Model-Training-with-PyTorch-2.X/blob/main/quiz/chapter03-answers.md.
Before starting this quiz, remember that this is not a test! This section aims to complement your learning process by revising and consolidating the content covered in this chapter.
Choose the correct options for the following questions:
- Which are the two execution modes of PyTorch?
- Horizontal and vertical modes.
- Eager and graph modes.
- Eager and distributed modes.
- Eager and auto modes.
- In which execution mode does PyTorch execute operations as soon as they appear in the code?
- Graph mode.
- Eager mode.
- Distributed mode.
- Auto mode.
- In which execution mode does PyTorch evaluate the complete set of operations seeking optimization...