The first thing I tried to get this running faster was psyco.
为了让它跑得更快, 我首先尝试了 psyco.
To get Psyco to do the desired optimization, you need to either add psyco.bind(NN) to code_recognizer.py or add psyco.jit() to bpnn.py.
要使 Psyco 进行期望的优化,需要将 psyco.bind(NN) 添加到 code_recognizer.py 或者将 psyco.jit() 添加到 bpnn.py 。
The first line tells Psyco to do its magic on all global functions.
第一行告诉 Psyco 对所有全局函数“发挥其魔力”。
应用推荐