提交 8480958c authored 作者: Frederic Bastien's avatar Frederic Bastien

code cleanup.

上级 31179514
...@@ -87,7 +87,6 @@ class ProfileMode(Mode): ...@@ -87,7 +87,6 @@ class ProfileMode(Mode):
flops_msg='' flops_msg=''
for a,t in op_time.items(): for a,t in op_time.items():
if hasattr(a,'flops'): if hasattr(a,'flops'):
print "if true!"
flops=True flops=True
flops_msg=' <MFlops/s>' flops_msg=' <MFlops/s>'
print '\nHACK WARNING: we print the flops for some OP, but the logic don\' always work. You need to know the internal of Theano to make it work correctly. Otherwise don\'t use!' print '\nHACK WARNING: we print the flops for some OP, but the logic don\' always work. You need to know the internal of Theano to make it work correctly. Otherwise don\'t use!'
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论