官术网_书友最值得收藏!

  • 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
主站蜘蛛池模板: 桐梓县| 泽州县| 宁德市| 新安县| 洪泽县| 海晏县| 清远市| 宜良县| 西宁市| 平遥县| 胶南市| 蚌埠市| 永定县| 东至县| 始兴县| 奉节县| 台南县| 家居| 三江| 新乐市| 桐乡市| 阜平县| 仲巴县| 双桥区| 通城县| 修武县| 大丰市| 肥东县| 肃宁县| 曲水县| 株洲市| 阿鲁科尔沁旗| 济南市| 财经| 三台县| 新巴尔虎左旗| 和硕县| 周至县| 新沂市| 于都县| 岫岩|