提交 21c9f68b authored 作者: abalkin's avatar abalkin

Convert relative imports to absolute

上级 aee5674a
...@@ -21,8 +21,7 @@ from theano.tensor.randomstreams import \ ...@@ -21,8 +21,7 @@ from theano.tensor.randomstreams import \
random = RandomStreams(seed=0xBAD5EED, no_warn = True) random = RandomStreams(seed=0xBAD5EED, no_warn = True)
"""Imitate the numpy.random symbol with a tensor.random one""" """Imitate the numpy.random symbol with a tensor.random one"""
from theano.tensor.elemwise import \ from theano.tensor.elemwise import DimShuffle, Elemwise, CAReduce
DimShuffle, Elemwise, CAReduce
import theano.tensor.sharedvar # adds shared-variable constructors import theano.tensor.sharedvar # adds shared-variable constructors
......
...@@ -5,7 +5,6 @@ from itertools import izip ...@@ -5,7 +5,6 @@ from itertools import izip
import numpy import numpy
import elemwise_cgen as cgen
import theano import theano
from theano import gof from theano import gof
from theano.gof import Apply, Op from theano.gof import Apply, Op
...@@ -16,6 +15,7 @@ from theano.gof.python25 import all, any ...@@ -16,6 +15,7 @@ from theano.gof.python25 import all, any
from theano.tensor.utils import hash_from_dict from theano.tensor.utils import hash_from_dict
from theano.gradient import DisconnectedType from theano.gradient import DisconnectedType
from theano.gof.null_type import NullType from theano.gof.null_type import NullType
from theano.tensor import elemwise_cgen as cgen
config = theano.config config = theano.config
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论