提交 7de9a5c6 authored 作者: abalkin's avatar abalkin

Converted relative imports to absolute.

上级 b4b493fd
......@@ -38,7 +38,7 @@ __authors__ = ("Razvan Pascanu "
__copyright__ = "(c) 2010, Universite de Montreal"
__contact__ = "Razvan Pascanu <r.pascanu@gmail>"
import scan_opt
from scan import scan
from scan_views import map, reduce, foldl, foldr
from scan_utils import clone, until
from theano.scan_module import scan_opt
from theano.scan_module.scan import scan
from theano.scan_module.scan_views import map, reduce, foldl, foldr
from theano.scan_module.scan_utils import clone, until
......@@ -57,9 +57,9 @@ from theano.compile import ops
from theano.gof.python25 import OrderedDict
import scan_op
import scan_utils
from scan_utils import safe_new, traverse
from theano.scan_module import scan_op
from theano.scan_module import scan_utils
from theano.scan_module.scan_utils import safe_new, traverse
# Logging function for sending warning or info
_logger = logging.getLogger('theano.scan_module.scan')
......
......@@ -33,8 +33,8 @@ from theano.gradient import grad_undefined
from theano.gradient import DisconnectedType
from theano.compile.profiling import ScanProfileStats
import scan_utils
from scan_utils import safe_new, forced_replace
from theano.scan_module import scan_utils
from theano.scan_module.scan_utils import safe_new, forced_replace
# Logging function for sending warning or info
_logger = logging.getLogger('theano.scan_module.scan_op')
......
......@@ -26,9 +26,9 @@ from theano.gof import toolbox, DestroyHandler, InconsistencyError
from theano.compile import optdb
from theano.compile.function_module import deep_copy_op
import scan_op
import scan_utils
from scan_utils import equal_computations, find_up, scan_args
from theano.scan_module import scan_op
from theano.scan_module import scan_utils
from theano.scan_module.scan_utils import equal_computations, find_up, scan_args
from theano.gof.opt import pre_constant_merge, pre_greedy_local_optimizer
# Logging function for sending warning or info
......
......@@ -15,7 +15,7 @@ __contact__ = "Razvan Pascanu <r.pascanu@gmail>"
import logging
import scan
from theano.scan_module import scan
# Logging function for sending warning or info
_logger = logging.getLogger('theano.scan_module.scan_views')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论