TensorFlow
不要在大循环中使用sess.run(),这样会导致速度慢很多
Python
在python中如何实现输出不换行:
# python2
print "something",
# python3
print("something", end="")
这样就可以实现在同一行滚动输出:
# python2
print "\r rate %d" % (rate),
# python3
print("\r rate %d" % (rate), end="")
This work is licensed under a CC A-S 4.0 International License.