TensorFlow 中文社区
教程代码有一些函数名字在新版本tensorflow中已经被修改
AttributeError: module 'tensorflow' has no attribute 'mul'
AttributeError: module 'tensorflow' has no attribute 'type'
tf.mul---tf.multiply
tf.sub---tf.subtract
tf.neg---tf.negative
tf.types.float32---tf.float32
tf.pact()---tf.stact()
转载于:https://blog.51cto.com/13562606/2112624