- Mastering TensorFlow 1.x
- Armando Fandango
- 208字
- 2021-06-25 22:51:02
Keras 101
Keras is a high-level library that allows the use of TensorFlow as a backend deep learning library. TensorFlow team has included Keras in TensorFlow Core as module tf.keras. Apart from TensorFlow, Keras also supports Theano and CNTK at the time of writing this book.
The following guiding principles of Keras have made it very popular among the deep learning community:
- Minimalism to offer a consistent and simple API
- Modularity to allow the representation of various elements as pluggable modules
- Extensibility to add new modules as classes and functions
- Python-native for both code and model configuration
- Out-of-the-box common network architectures that support CNN, RNN, or a combination of both
Throughout the remainder of this book, we shall learn how to build different kinds of deep learning and machine learning models with both the low-level TensorFlow API and the high-level Keras API.
We shall cover the following topics in this chapter:
- Installing Keras
- Workflow for creating models in Keras
- Creating the Keras model with sequential and functional API
- Keras layers
- Creating and adding layers with sequential and functional API
- Compiling the Keras model
- Training the Keras model
- Predicting using the Keras model
- Additional modules in Keras
- Keras sequential model example for MNIST dataset
推薦閱讀
- Istio入門與實戰
- Learning Cocos2d-x Game Development
- 圖解西門子S7-200系列PLC入門
- Learning Game Physics with Bullet Physics and OpenGL
- 計算機組裝與維修技術
- R Deep Learning Essentials
- Creating Flat Design Websites
- 單片機原理及應用:基于C51+Proteus仿真
- FreeSWITCH Cookbook
- IP網絡視頻傳輸:技術、標準和應用
- 計算機電路基礎(第2版)
- USB應用分析精粹:從設備硬件、固件到主機端程序設計
- Instant Website Touch Integration
- 嵌入式系統設計大學教程(第2版)
- 創客電子:Arduino和Raspberry Pi智能制作項目精選