为Session.run(fetches, feed_dict)保证执行其fetches有序参数呢?
Session.run(fetches, feed_dict)
fetches
文档似乎没有提到它.
例如,如果你跑
sess.run([accuracy, train_op], feed_dict=feed_dict)
执行的顺序很重要:train_op将更新影响的参数accuracy.
train_op
accuracy
python machine-learning tensorflow
machine-learning ×1
python ×1
tensorflow ×1