在根据TensorFlow文档的时候,发现
input1 = tf.placeholder(tf.types.float32)
报错,提示AttributeError: module 'tensorflow' has no attribute 'types'
直接去掉types即可。
input1 = tf.placeholder(tf.float32)
在根据TensorFlow文档的时候,发现
input1 = tf.placeholder(tf.types.float32)
报错,提示AttributeError: module 'tensorflow' has no attribute 'types'
直接去掉types即可。
input1 = tf.placeholder(tf.float32)