提交 a06016e8 authored 作者: Frederic's avatar Frederic 提交者: AlOa

Fix import order to be pep8

上级 fefe6206
import theano
import theano.tensor as T
import numpy as np
import time
from optparse import OptionParser from optparse import OptionParser
import sys import sys
import time
import numpy as np
import theano
import theano.tensor as T
parser = OptionParser(usage='%prog <options>\n Compute time for' parser = OptionParser(usage='%prog <options>\n Compute time for'
' fast and slow elemwise operations') ' fast and slow elemwise operations')
...@@ -56,4 +57,3 @@ if __name__ == '__main__': ...@@ -56,4 +57,3 @@ if __name__ == '__main__':
if options.script: if options.script:
sys.stdout.write("%2.9f %2.9f\n" % (cheapTime, costlyTime)) sys.stdout.write("%2.9f %2.9f\n" % (cheapTime, costlyTime))
sys.stdout.flush() sys.stdout.flush()
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论