提交 aac6cc30 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

[scan][coding-style] Added some spaces between functions

上级 951a2e4e
...@@ -53,13 +53,17 @@ from gof.python25 import all ...@@ -53,13 +53,17 @@ from gof.python25 import all
# Logging function for sending warning or info # Logging function for sending warning or info
_logger = logging.getLogger('theano.scan') _logger = logging.getLogger('theano.scan')
def warning(*msg): def warning(*msg):
_logger.warning('WARNING theano.scan: '+' '.join(msg)) _logger.warning('WARNING theano.scan: '+' '.join(msg))
def info(*msg): def info(*msg):
_logger.info('INFO theano.scan: '+' '.join(msg)) _logger.info('INFO theano.scan: '+' '.join(msg))
# Hashing a dictionary/list/tuple by going and hasing each element # Hashing a dictionary/list/tuple by xoring the hash of each element
def hash_listsDictsTuples(x): def hash_listsDictsTuples(x):
hash_value = 0 hash_value = 0
if type(x) == dict : if type(x) == dict :
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论