- Hands-On Artificial Intelligence for Beginners
- Patrick D. Smith
- 88字
- 2021-06-10 19:33:51
Basic building blocks
As Keras is designed as a model-level library, it does not contain methods for doing basic operations as PyTorch of base TensorFlow does. Instead, it utilizes TensorFlow as a backend. As such, its basic operations are the same as basic TensorFlow operations:
import keras.backend as K
x = K.constant(5)
y = K.constant(6)
product = x * y
Keras also uses the same graph structure as Tensorflow. We'll learn more about Keras model building methods in the next chapter on Your First Artificial Neural Networks.
推薦閱讀
- 大數(shù)據(jù)項(xiàng)目管理:從規(guī)劃到實(shí)現(xiàn)
- Apache Hive Essentials
- 大數(shù)據(jù)技術(shù)入門(第2版)
- 大數(shù)據(jù)技術(shù)與應(yīng)用
- Learning ServiceNow
- Silverlight 2完美征程
- 網(wǎng)絡(luò)脆弱性掃描產(chǎn)品原理及應(yīng)用
- MPC5554/5553微處理器揭秘
- ARM體系結(jié)構(gòu)與編程
- 巧學(xué)活用Photoshop
- 電機(jī)與電力拖動(dòng)
- ASP.NET學(xué)習(xí)手冊
- 案例解說單片機(jī)C語言開發(fā)
- 三維動(dòng)畫制作(3ds max7.0)
- Apache Hadoop 3 Quick Start Guide