在修改程序添加代码时,忽然报错ValueError: None values not supported
在报错的代码行查找,有某个tensor的维度错误。可以在console中,做模拟的tensor来试验
sample=tf.ones([10,1],tf.float32)
tf.Session().run(sample)
tf.shape(tf.placeholder(tf.float32,[None,1]))
对placeholder的理解还要进一步研究
在修改程序添加代码时,忽然报错ValueError: None values not supported
在报错的代码行查找,有某个tensor的维度错误。可以在console中,做模拟的tensor来试验
sample=tf.ones([10,1],tf.float32)
tf.Session().run(sample)
tf.shape(tf.placeholder(tf.float32,[None,1]))
对placeholder的理解还要进一步研究