提交 e2a54a72 authored 作者: abalkin's avatar abalkin

Replaced relative imports with absolute.

上级 8e2293db
...@@ -8,7 +8,7 @@ import numpy ...@@ -8,7 +8,7 @@ import numpy
from theano.compile.sharedvalue import (SharedVariable, shared_constructor, from theano.compile.sharedvalue import (SharedVariable, shared_constructor,
shared) shared)
import raw_random from theano.tensor import raw_random
class RandomStateSharedVariable(SharedVariable): class RandomStateSharedVariable(SharedVariable):
......
...@@ -3,7 +3,7 @@ import traceback ...@@ -3,7 +3,7 @@ import traceback
import numpy import numpy
import theano.tensor.basic import theano.tensor.basic
from basic import TensorType, _tensor_py_operators from theano.tensor.basic import TensorType, _tensor_py_operators
from theano.compile import shared_constructor, SharedVariable from theano.compile import shared_constructor, SharedVariable
......
...@@ -3,7 +3,7 @@ import numpy as np ...@@ -3,7 +3,7 @@ import numpy as np
import theano import theano
from theano.tensor import tensor from theano.tensor import tensor
from basic import mul from theano.tensor.basic import mul
class SortOp(theano.Op): class SortOp(theano.Op):
......
import numpy import numpy
from elemwise import Elemwise from theano.tensor.elemwise import Elemwise
from theano import scalar from theano import scalar
class XlogX(scalar.UnaryScalarOp): class XlogX(scalar.UnaryScalarOp):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论