提交 b4ccfa60 authored 作者: James Bergstra's avatar James Bergstra

tensor basic imports logging

上级 bcc8f29d
......@@ -26,7 +26,12 @@ from theano.printing import pprint, Print
### set up the external interface
from elemwise import Elemwise, DimShuffle, CAReduce, Sum
import logging
_logger=logging.getLogger("theano.tensor.basic")
def _info(*msg):
_logger.info(' '.join(msg))
def _warn(*msg):
_logger.warn(' '.join(msg))
def check_equal_numpy(x, y):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论