修改bug“Cannot feed value of shape (1,) for Tensor 'Placeholder_1:0', which has shape '(1, ?)'”
将“y_ = tf.placeholder("float",[None,1])”
改为
“y_ = tf.placeholder("float",[1,])”
修改bug“Cannot feed value of shape (1,) for Tensor 'Placeholder_1:0', which has shape '(1, ?)'”
将“y_ = tf.placeholder("float",[None,1])”
改为
“y_ = tf.placeholder("float",[1,])”