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.09k forks source link

第五章-5.3节有一处类型转换错误 #198

Open cyberknight01 opened 4 years ago

cyberknight01 commented 4 years ago

In [27] :out = tf.cast(out,dtype=tf.float32) 此处应该是out = tf.cast(out,dtype=tf.int32)