19.4. Using Google Colab¶
To run a section on Colab, you can simply click the
Colab button to
the right of the title of that section, such as in
When it is the first time you execute a code cell, you will receive a warning message as shown in Fig. 19.4.2. You may click “RUN ANYWAY” to ignore it.
Next, Colab will connect you to an instance to run this notebook.
Specifically, if GPU is needed, such as when invoking the
d2l.try_gpu() function, we will request Colab to connect to a GPU
You can use Google Colab to run each section of this book with GPUs.
Try to edit and run the code in this book using Google Colab.