1. 跑tensoflow报错“AttributeError: 'module' object has no attribute 'mul'
使用multiply代替mul即可。
2. tensoflow使用placeholder报错“AttributeError: 'module' object has no attribute 'types'”
将types删掉,直接写成形式tf.placeholder(tf.float32)即可
1. 跑tensoflow报错“AttributeError: 'module' object has no attribute 'mul'
使用multiply代替mul即可。
2. tensoflow使用placeholder报错“AttributeError: 'module' object has no attribute 'types'”
将types删掉,直接写成形式tf.placeholder(tf.float32)即可