In this chapter, we have learned about the benefits of constructing a machine learning model on the web and how to use TensorFlow.js to build it. There are two ways we can build a model with TensorFlow.js. The first way is to use the Core API, which helps us build flexible models and optimize their performance as much as possible. The other way is to use the Layers API. This API is similar to Keras, which means we can construct deep learning models more intuitively. We don't need to construct our own model if it is already publicly available.
We also learned that it's possible to import an existing model into TensorFlow.js by using tfjs-converter. By completing this chapter, you know how to construct your own models with TensorFlow.js and import existing models into TensorFlow.js.
In the next chapter, we will learn how to import pretrained models into TensorFlow...