dragen1860 / Deep-Learning-with-TensorFlow-book

深度学习入门开源书,基于TensorFlow 2.0案例实战。Open source Deep Learning book, based on TensorFlow 2.0 framework.
http://www.ai101edu.com
13.2k stars 4.08k forks source link

第45页:4.5 张量的典型应用,代码问题 #164

Open Relph1119 opened 4 years ago

Relph1119 commented 4 years ago

第45页:fc = layers.Dense(3) # 创建一层 Wx+b,输出节点为 3 建议修改为:fc = tf.keras.layers.Dense(3) # 创建一层 Wx+b,输出节点为 3