- Mastering TensorFlow 1.x
- Armando Fandango
- 76字
- 2021-06-25 22:51:03
Workflow for building models in Keras
The simple workflow in Keras is as follows:
- Create the model
- Create and add layers to the model
- Compile the model
- Train the model
- Use the model for prediction or evaluation
Let's check out each of these steps.
You can follow the code examples in this chapter with the Jupyter Notebook ch-03_Keras_101 included in the code bundle. Try modifying the code in the notebook to explore various options.