提交 951a2e4e authored 作者: Razvan Pascanu's avatar Razvan Pascanu

[scan][coding style] re-arranged the imports of the file

上级 99aaa103
...@@ -35,6 +35,11 @@ __authors__ = ( "Razvan Pascanu " ...@@ -35,6 +35,11 @@ __authors__ = ( "Razvan Pascanu "
__copyright__ = "(c) 2010, Universite de Montreal" __copyright__ = "(c) 2010, Universite de Montreal"
__contact__ = "Razvan Pascanu <r.pascanu@gmail>" __contact__ = "Razvan Pascanu <r.pascanu@gmail>"
import logging
import numpy
import theano
import tensor import tensor
import misc.safe_asarray as safe_asarray import misc.safe_asarray as safe_asarray
from tensor import opt, TensorType from tensor import opt, TensorType
...@@ -42,17 +47,11 @@ import gof ...@@ -42,17 +47,11 @@ import gof
from gof import Optimizer, toolbox, Op, Apply from gof import Optimizer, toolbox, Op, Apply
from compile import optdb, SharedVariable, function, Param from compile import optdb, SharedVariable, function, Param
import compile import compile
import tensor.shared_randomstreams as shared_random
import gradient import gradient
from gof.python25 import all from gof.python25 import all
import copy
import tensor.elemwise as elemwise
import printing
import numpy
import theano
# Logging function for sending warning or info # Logging function for sending warning or info
import logging
_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))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论