- 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.
推薦閱讀
- Hands-On Internet of Things with MQTT
- 平面設計初步
- 精通MATLAB圖像處理
- Dreamweaver CS3網頁設計與網站建設詳解
- 21天學通C語言
- Nginx高性能Web服務器詳解
- Practical Big Data Analytics
- Cloud Security Automation
- AI的25種可能
- Ansible 2 Cloud Automation Cookbook
- Hands-On Dashboard Development with QlikView
- Java組件設計
- 電腦故障排除與維護終極技巧金典
- Oracle 11g Anti-hacker's Cookbook
- Java Deep Learning Projects