提交 d6655c6e authored 作者: Mohammad Pezeshki's avatar Mohammad Pezeshki

small fixes

上级 5513757a
...@@ -6,7 +6,6 @@ import time ...@@ -6,7 +6,6 @@ import time
import warnings import warnings
import numpy # for numeric_grad import numpy # for numeric_grad
np = numpy
import theano import theano
...@@ -17,6 +16,7 @@ from theano.gof.null_type import NullType, null_type ...@@ -17,6 +16,7 @@ from theano.gof.null_type import NullType, null_type
from theano.gof.op import get_debug_values from theano.gof.op import get_debug_values
from theano.compile import ViewOp from theano.compile import ViewOp
np = numpy
__authors__ = "James Bergstra, Razvan Pascanu, Arnaud Bergeron, Ian Goodfellow" __authors__ = "James Bergstra, Razvan Pascanu, Arnaud Bergeron, Ian Goodfellow"
__copyright__ = "(c) 2011, Universite de Montreal" __copyright__ = "(c) 2011, Universite de Montreal"
__license__ = "3-clause BSD License" __license__ = "3-clause BSD License"
......
...@@ -5,7 +5,6 @@ from theano.compat.python2x import OrderedDict ...@@ -5,7 +5,6 @@ from theano.compat.python2x import OrderedDict
from theano.compile.sharedvalue import SharedVariable from theano.compile.sharedvalue import SharedVariable
import logging import logging
logger = logging.getLogger('theano.updates')
import warnings import warnings
...@@ -16,6 +15,8 @@ __contact__ = "theano-dev <theano-dev@googlegroups.com>" ...@@ -16,6 +15,8 @@ __contact__ = "theano-dev <theano-dev@googlegroups.com>"
__docformat__ = "restructuredtext en" __docformat__ = "restructuredtext en"
logger = logging.getLogger('theano.updates')
# Must be an OrderedDict or updates will be applied in a non-deterministic # Must be an OrderedDict or updates will be applied in a non-deterministic
# order. # order.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论