提交 7b5f3adf authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Typo fix

上级 268690ea
...@@ -143,7 +143,7 @@ def print_compiledir_content(): ...@@ -143,7 +143,7 @@ def print_compiledir_content():
if file is not None: if file is not None:
file.close() file.close()
print "List %d compiled individual ops in this theano cache %s:" % ( print "List of %d compiled individual ops in this theano cache %s:" % (
len(table), compiledir) len(table), compiledir)
print "sub directory/Op/a set of the different associated Theano type" print "sub directory/Op/a set of the different associated Theano type"
table = sorted(table, key=lambda t: str(t[1])) table = sorted(table, key=lambda t: str(t[1]))
...@@ -154,7 +154,7 @@ def print_compiledir_content(): ...@@ -154,7 +154,7 @@ def print_compiledir_content():
table_op_class[op.__class__] += 1 table_op_class[op.__class__] += 1
print print
print ("List %d of individual compiled Op classes and " print ("List of %d individual compiled Op classes and "
"the number of times they got compiled" % len(table_op_class)) "the number of times they got compiled" % len(table_op_class))
table_op_class = sorted(table_op_class.iteritems(), key=lambda t: t[1]) table_op_class = sorted(table_op_class.iteritems(), key=lambda t: t[1])
for op_class, nb in table_op_class: for op_class, nb in table_op_class:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论