提交 47e43343 authored 作者: Tanjay94's avatar Tanjay94

Linalg import error.

上级 2ebd9e69
from theano import tensor
from theano.tensor.slinalg import kron
from theano.compile.modules import deprecation_warning
import warnings
warnings.warn(
"theano modules are deprecated and will be removed in release 0.7",
stacklevel=3)
deprecation_warning.already_displayed = True
\ No newline at end of file
stacklevel=3)
\ No newline at end of file
......@@ -9,7 +9,8 @@ from theano.gof import Constant, Variable
from theano.gof.utils import hashtype
from theano.tensor.utils import hash_from_ndarray
from theano.tensor.type import TensorType
from theano.sandbox import linalg
from theano.tensor import nlinalg
class AsTensorError(TypeError):
"""Raised when as_tensor_variable isn't able to create a
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论