Technical requirements
This chapter requires that you have access to either Google Colab or Jupyter Notebook to work with the example code. The requirements to use this book is to use the section of Chapter 1, Defining Machine Learning Security, which provides additional details on how to set up and configure your programming environment.
You really do benefit from having a graphics processing unit (GPU) to run the examples in this chapter. They will run without a GPU but expect to take long coffee breaks while you wait for the code to complete running. This means choosing Runtime | Change Runtime Type in Google Colab, then selecting GPU in the Hardware Accelerator dropdown. Desktop users will want to review the Checking for a GPU with a nod toward Windows section of the chapter for desktop system instructions.
Set up your system to run TensorFlow. Google Colab users should read https://colab.research.google.com/github/tensorflow/docs/blob/master/site/en/tutorials/quickstart...