In this chapter, as a prerequisite, you need to prepare the following libraries or frameworks in your environment:
- A web browser (Chrome is recommended): TensorFlow.js primarily runs on web browsers.
- The Node.js environment, which contains a node package manager (npm): Node.js is necessary since it resolves dependencies so that we can run TensorFlow.js.
- TypeScript compiler: TensorFlow.js and its application are often written in TypeScript.
- Python (3.x is recommended): We need this so that we can run Python-dependent tools such as tfjs-converter and the TensorFlow Python API.
If you are unsure about how to build the environment, please look at the Further reading section, which can be found at the end of this chapter. You will find these resources useful while you set up these prerequisites.
The code we'll be using in this book can be found in this...